On 7 Jun 2014, at 12:01 am, Francesco De Giorgi 
<[email protected]> 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: [email protected]
> 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

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
Pacemaker mailing list: [email protected]
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

Reply via email to