[Pacemaker] email alerts on resource status

Andrew Beekhof andrew at beekhof.net
Sat Jun 7 10:23:24 EDT 2014

On 7 Jun 2014, at 12:01 am, Francesco De Giorgi <francesco.degiorgi at exact-lab.it> wrote:

> Hi all,
> first post here.
> We are managing an HA Lustre filesystem with pacemaker 1.1.11 and
> corosync 2.3.3 .
> I was looking for a way to send email alerts to signal a Lustre target
> migration, and I considered:
> - MailTo primitive
> - cron script to parse crm_mon output
> - nagios/icinga check
> - ClusterMon primitive
> I compiled pacemaker-cli without smtp support,

Ah, but you still have access to:

 -E, --external-agent=value	A program to run when resource operations take place.
 -e, --external-recipient=value	A recipient for your program (assuming you want the program to send something to someone).

for crm_mon, and your script can do whatever you like :)

> so the ClusterMon would
> be the last option.
> I was thinking to go with a MailTo primitive for each Lustre target,
> and colocate them. Is this the easiest way, or something better
> already exists?
> Thanks in advance,
> Francesco
> _______________________________________________
> 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://bugs.clusterlabs.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20140608/b0176dea/attachment-0003.sig>

More information about the Pacemaker mailing list