Re: [rgmanager] sending email on relocate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Fri, Jan 11, 2013 at 1:02 PM, GouNiNi Geekarea <gounini.geekarea@xxxxxxxxx> 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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

-- 
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux