Hey Mario,

in case you have just recently subscribed to the list, Todd Conor send
us an updated version of the MailTo script - see his notes below. I
haven't tested it personally yet, but I'm planning to do this today.
Maybe this is helpful to you as well.

Regards,
Tobias

Am Montag, 15. Dezember 2008 10:18 schrieb [email protected]:
> Hello,
>
> is there a way to send out a notify mail if a takeover takes place?
> I coul write a script which gets executed by ha, but maybe this way
> already implemented?
>
> Cheers,
> Mario

On Fri, 2008-12-12 at 12:29 +0000, Todd, Conor (PDX) wrote:
> Hi everyone.
> 
> I've modified the MailTo OCF script to accept a 'sender' attribute, such 
> that, if given, the 'From' field on the email to be sent is set to whatever 
> you set the sender attribute to.
> 
> This was necessary for me because my nodes were putting invalid domains on 
> the sender address ([email protected]<mailto:[email protected]>), even 
> though each node has a valid hostname.  Additionally, for me, it's more 
> useful to have emails appear to come from the DNS address which presents the 
> clustered service which is generating the message instead of an arbitrary 
> cluster node (which appears in the title of the email anyway).
> 
> I've attached the updated MailTo script for your enjoyment.
> BTW, the original came from a Heartbeat-2.1.4 install.
> 
> Thanks!
> 
>    - Conor
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems

Attachment: MailTo
Description: application/shellscript

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to