[Pacemaker] crm_mon SNMP support

Andrew Beekhof andrew at beekhof.net
Wed Nov 28 19:27:48 EST 2012


On Wed, Nov 28, 2012 at 2:34 AM, Florian Crouzat
<gentoo at floriancrouzat.net> wrote:
> Hi,
>
> 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 192.168.2.3
> -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 ?

I'm not familiar with the term PCI-DSS... does that allow you to
rebuild src.rpm packages?
If so, just run:
   rpmbuild --with snmp --rebuild pacemaker-.....src.rpm




More information about the Pacemaker mailing list