LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: MailTo

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: MailTo
From: Tomas Ruprich <xruprich@xxxxxxxxxxxxxxxx>
Date: Wed, 1 Mar 2006 11:00:34 +0100
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

<Prev in Thread] Current Thread [Next in Thread>
  • MailTo, Christophe Mailhebuau
    • Re: MailTo, Tomas Ruprich <=