[Pacemaker] SNMP reports more resources than what is configured in cib.xml

Jesse W. Hathaway jesse at mbuki-mvuki.org
Thu Aug 21 14:06:13 CEST 2008


> Hi,
> 
> "Jesse W. Hathaway" <jesse at mbuki-mvuki.org> writes:
> > Sequence:
> >
> >   1. Query snmp: 4 resources are listed
> >
> >   2. Simulate a failure by killing Synapse process
> >
> >   3. Query snmp: 5 resources are now listed, new resource
> >      is an ESB_SYNAPSE resource in the stopped state
> >
> > Any idea why 5 resources would be listed??
> 
> It is the record for letting you know which resource has failed
> on which node.
> 
> If you are only interested in healthy resources,
> you should look at ones that has LHAResourceStatus = started.

If this is the case how do you monitor with SNMP that a resource
is up and running? I was doing snmpgets on LHAResourceStatus but the
indexes for each resource changes when a resource fails.

thanks, Jesse



More information about the Pacemaker mailing list