Wed, Mar 01, 2006 ve 10:38:34AM +0100, Christophe Mailhebuau napsal:
> Hi,
>
> I use heartbeat + ldirector on 2 reels servers (box), how can use script
> /etc/ha.d/resource.d/MailTo to send mail to administrator when the real
> servers (example first) down or broken ?
>
> Regards.
into /etc/ha.d/haresources:
<your.server.com> IPaddr::<server_IP> MailTo::<your@xxxxxxxxx>::<mail_subject>
I use IPaddr (/etc/ha.d/resource.d/IPaddr), but you must read heartbeat
documenatation for other possibilities. If you use heartbeat from rpm,
it should contain sample haresources configuration, where many of these
possibilities are shown.
Tomyk
|