Hi,

I've wanted to test out your MailTo script, so I placed it
under /usr/lib/ocf/resource.d/heartbeat/MailTo2
but when I open the GUI now and try to add a native resource I get the
following message:
Failed to parse the metadata of resource agent: MailTo2

I've had a quick look at the metadata but it looks identical to the
original one. 

Anyone else had this problem?

Regards,
Tobi


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

_______________________________________________
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