[Pacemaker] How to send email-notification on failure of resource in cluster frame work

Andrew Beekhof andrew at beekhof.net
Tue Mar 29 01:51:06 EDT 2011


On Tue, Mar 29, 2011 at 3:29 AM, Vadym Chepkov <vchepkov at gmail.com> wrote:
>
> On Mar 24, 2011, at 12:46 AM, Rakesh K wrote:
>
>> Hi ALL
>> Is there any way to send Email notifications when a resource is failure in the
>> cluster frame work.
>>
>> while i was going through the Pacemaker-explained document provided in the
>> website www.clusterlabs.org
>>
>> There was no content in the chapter 7 --> which is sending email notification
>> events.
>>
>> can anybody help me regarding this.
>>
>> for know i am approaching the crm_mon --daemonize --as-html <path ot fil> to
>> maintain the status of HA in html file.
>>
>> Is there any other approach for sending email notification.
>>
>
> Last time I checked, crm_mon is not well suited for this purpose.
>
> crm_mon has the following option
>
>       -T, --mail-to=value
>              Send  Mail  alerts  to  this  user.    See   also   --mail-from,
>              --mail-host, --mail-prefix
>
> But you will end-up with obscene amount of e-mails, I was blocked from gmail when I tried to use it once :)
> For one resource failure you will get 4 e-mails: monitor,stop,start,monitor. Now imagine if it was a most significant member of a group or worse, node failure...
>
> nagios would be better suited for this purpose, but, unfortunately, crm_mon is broken (http://developerbugs.linux-foundation.org/show_bug.cgi?id=2344) for quite awhile.

The fix is going to have to come from the community, I don't have any
knowledge of nagios

>
> I am yet to find a good monitoring solution for pacemaker, hopefully somebody had more success and will share.
>
> Thanks,
> Vadym
>
>
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>




More information about the Pacemaker mailing list