On Mon, 2009-01-26 at 13:08 +0100, Michael Schwartzkopff wrote: > > Did you check if your lsb RA (aka init script) behaves like defined in the > LSB? > See: > http://www.linux-ha.org/LSBResourceAgent > > MOST (!) of the scripts provided from the distributions do not like defined. > > Ah I see!
This is quite an important link. I did a quick test with Nagios and when it is stopped and I run the script with status it returns: [r...@nagios2 ~]# /etc/init.d/nagios status ; echo "result: $?" No lock file found in /usr/local/nagios/var/nagios.lock result: 1 But heartbeat is expecting result: 3! Well that explains a lot. I will get right on it! Thanks again! _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
