[Pacemaker] crm_mon SNMP support

Florian Crouzat gentoo at floriancrouzat.net
Tue Nov 27 10:34:43 EST 2012


I have in my current production configuration the following resource:

primitive SNMPMonitor ocf:heartbeat:ClusterMon \
         params pidfile="/var/run/crm_mon.pid" extra_options="-S -C public" \
         op monitor on-fail="restart" interval="10s"

I was working a couple months ago, and I haven't touched it since.
Apparently, I missed a couple changelogs :/

I was investigating why I wasn't receiving SNMP traps anymore during the 
last couples of migration/changes in the cluster state.
I found out that my version of crm_mon is compiled without SNMP (or 
email) supports.

$ sudo crm_mon -$ && cat /etc/redhat-release
Pacemaker 1.1.6-3.el6
Written by Andrew Beekhof
CentOS release 6.2 (Final)

I found out the following changelogs:

	* Mon Sep 26 2011 Andrew Beekhof <andrew at beekhof.net> 1.1.6-2
  	 - Do not build in support for heartbeat, snmp, esmtp by default
  	 - Create a package for cluster unaware libraries to minimze our
  	   footprint on non-cluster nodes
  	 - Better package descriptions

What are my options, knowing that I'm in a PCI-DSS environment that 
forbids any compiler in production, and that I'd rather not maintain 
myself a snmp-enabled version of the package ?

Florian Crouzat

More information about the Pacemaker mailing list