>>> Lars Ellenberg <[email protected]> schrieb am 26.03.2011 um 00:10 in Nachricht <[email protected]>:
[...] > Pacemaker is not a substitute for proper monitoring (nagios, whatever). [...] AFAIK, pacemaker starts a monitor programm every now and then to check the state of a resource. In contrast HP ServiceGuard uses a monitoring process that runs forever. Depending on the complexity of the thing to monitor, that latter approach may have performance benefits. For example if you are going to monitor a bunch of processes to exist, you'll have to get their PIDs only once and then just check is they are there (using the system call, not the "ps" command). If you are starting the monitor every time, you are wasting resources. The less impact the monitoring task has, the more frequently you can monitor your resources. I'm no fan of "monitoring a system to death" (like causing a system load of 10% for monitoring). Back to the problem: If you write a program that continually monitors a resource, it's easier to detect (and possibly log) the state changes. Whether to actually care about such changes is a matter of taste. For pacemaker I can imagine some kind of "proxy" to be used as a monitor that is actually querying a monitor job that is continuously running. Regards, Ulrich _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
