<html><body>
<p>I would like to see a complete solution for system health shipped with pacemaker. Would you be opposed to including the backend parts that monitor system health into pacemaker such as daemons or command line programs?<br>
<br>
One of the ways to determine the health of a system is to listen to IPMI events. I took source code from <a href="http://ipmitool.sourceforge.net/">http://ipmitool.sourceforge.net/</a> and modified it. src/ipmievd.c is a daemon which listens to IPMI events and writes out information about the event to syslog. I modified ipmievd to instead write the raw IPMI event information to a database. The database is part of the servicelog package ( <a href="http://linux-diag.sourceforge.net/servicelog/">http://linux-diag.sourceforge.net/servicelog/</a> ). You can configure servicelog to run a program when a database entry matches certain criteria. This program then converts the IPMI event to a health color (red/yellow/green) and execs attrd_updater (ex: attrd_updater -n '#health-ipmi' -v 'yellow' ).<br>
<br>
There are two files which I would like to be included. Let's start with the easiest first.<br>
<br>
1) notifyServicelogEvent.c<br>
<br>
This program is executed by servicelog when a database entry matches certain criteria. It is entirely self-contained.<br>
<br>
2) src/ipmiservicelogd.c<br>
<br>
This program was copied from src/ipmievd.c. Instead of writing to syslog, it writes to servicelog. Unfortunately, ipmitools does not export its header files or libraries as part of a public interface and seperate RPM (like ipmitool-devel). Could we copy over enough files to compile ipmiservicelogd.c?<br>
<br>
Mark<br>
<br>
Common Information Model/Web-Based Enterprise Management at <a href="http://www.openpegasus.org/">http://www.openpegasus.org/</a><br>
Take a look at the Linux Omni Printer Driver Framework at <a href="http://omniprint.sourceforge.net/">http://omniprint.sourceforge.net/</a></body></html>