[Linux-HA] How to inlcude the resource in the mails from "MailTo" ocf script

Zachár Balázs zachar at direkt-kfki.hu
Mon Oct 30 04:00:21 MST 2006


Hi $sender!

The MailTo RA is a resource too. If it's get a start/stop argument it 
send an email. If you would like to modify the subject you should modify 
the MailTo script.

In your case:
You should add an another attribute (which value will the 
"Resourcename") to the MailTo resource in the cib.xml and handle this 
attribute in the MailTo script.

Regards,
Balázs

Christian Frank írta:
> Hi @all,
>
> I want to have the name of the resource_group/resource in the
> mails of the "MailTo" ocf script.
>
> Something like "Resource Takeover "Resourcename" in progress at Mon 
> Oct 30 11:15:44 CET 2006 on testnode" .
>
> Is this possible ?
>
> Thanks,
> Christian
>
>
> **************************************************************************** 
>
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. Access to this e-mail by anyone else is unauthorised.
> If you are not the intended recipient, any disclosure, copying,
> distribution or any action taken or omitted to be taken in reliance on
> it, is prohibited.
> E-mail messages are not necessarily secure.  Renesas does not accept
> responsibility for any changes made to this message after it was sent.
> Please note that this email message has been swept by Renesas for
> the presence of computer viruses.
> **************************************************************************** 
>
>
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
>
>




More information about the Linux-HA mailing list