On Mon, Aug 31, 2009 at 4:07 AM, Oliver Hookins<[email protected]> wrote: > Hi, > > I'm looking to step up our monitoring of Heartbeat/Pacemaker a notch and > implement something that queries the CIB and ensures that all the resources > we should have configured (and meta configuration) is actually present and > operational. I'd also like to implement some sort of failure count > monitoring so that even if things are working currently we don't have any > problems arise in future (for example due to anything that currently has an > infinite failure count). > > Has anybody implemented something like this? I'm not entirely sure what form > it would take, as I guess it could be implemented as just an XML parser > using the DTD,
newer versions use a schema btw. > or it could make use of the C API for Heartbeat... Nope, thats something else completely. You could consider use Pacemaker's PolicyEngine "API" though. Check out the source code for crm_mon for an example. > There are > a lot of possibilities. > > -- > Regards, > Oliver Hookins > Anchor Systems > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems > _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
