Yes, sorry, Ubuntu 8.10.
I tried cat /etc/debian_version, but it just said lenny or something
like that.
Is there a proper command to run to show that information?
--
/etc/init.d/nagios3 status returns 0 if nagios isn't running
https://bugs.launchpad.net/bugs/367679
You received this bug notifi
Public bug reported:
The init.d script says status OK even when the Nagios daemon is not
running.
$ sudo /etc/init.d/nagios3 status
* checking /usr/sbin/nagios3... [ OK ]
$ sudo pgrep nagios
(no output)
It's because the script is passing 0 to the log function rather than 1.
$ diff -u nagios3.