[Linux-cluster] [rgmanager] sending email on relocate

Juan Ramon Martin Blanco robejrm at gmail.com
Fri Jan 11 14:15:05 UTC 2013


On Fri, Jan 11, 2013 at 1:02 PM, GouNiNi Geekarea <
gounini.geekarea at gmail.com> wrote:

> Hello everyone,
>
> I didn't find any simple solution to send emails to alerte when rgmanager
> decides to relocate services.
> Do you know simple solution other than create a script ressource?
>
> Regards,
>
> You can parse cluster logs (if in debug mode) and send mail if something
like:
"clurgmgrd[30752]: <debug> Sent remote-start request to 2"
or
"attempting to relocate"
happens on them.

I.e: you can use rsyslog ommail http://www.rsyslog.com/doc/ommail.html

Greetings,
Juanra

>
> --
> Linux-cluster mailing list
> Linux-cluster at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-cluster
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20130111/c8427873/attachment.htm>


More information about the Linux-cluster mailing list