I was asked to look into install nagios for the Debian servers that we have here. I chose a way that appeared to be 'Debian appropriate' over a way that appeared to use Ubuntu repos, being unaware of the difference between xi and what was available in the repos. When I was told that xi was commercial, I elected to uninstall what I had installed and attempt to install the way the PDF file instructed.
However, after uninstalling nagios with:
sudo apt-get remove nagios-nrpe-server nagios-plugins-basic
... I discovered that Nagiosxi is still getting information about the server:
Some odd things about this are the labels that are being used ( I can't find them anywhere ), and the fact that disk space is supposedly being reported without an agent present on FTP-TEST-Template (running Lenny).FTP-TEST-Template Current Load Ok 1d 3h 36m 59s 1/4 2010-10-28 12:08:18 OK - load average: 0.07, 0.15, 0.21
Current Users Ok 1d 3h 36m 20s 1/4 2010-10-28 12:08:58 USERS OK - 3 users currently logged in
Home Partition Ok 1d 2h 5m 14s 1/4 2010-10-28 12:10:03 DISK OK - free space: / 2430 MB (37% inode=95%):
PING Ok 38m 57s 1/4 2010-10-28 12:06:20 PING OK - Packet loss = 0%, RTA = 3.95 ms
Root Partition Ok 1d 3h 35m 4s 1/4 2010-10-28 12:05:13 DISK OK - free space: / 2431 MB (37% inode=95%):
SSH Critical 1d 3h 34m 25s 4/4 2010-10-28 12:08:52 CRITICAL - Socket timeout after 10 seconds
Swap Usage Ok 1d 3h 33m 47s 1/4 2010-10-28 12:07:22 SWAP OK - 100% free (1023 MB out of 1023 MB)
Total Processes Ok 1d 3h 38m 15s 1/4 2010-10-28 12:09:48 PROCS OK: 53 processes with STATE = RSZDT
The IP address displayed matched, but I took the server down anyway. While the server was down, monitoring started reporting it was down. When I booted it back up, the server continued to report all of the above.
sudo ps aux reveals no processes that have nrpe, nagios, or even agent in the names.
Since this server is a vmware guest, I stopped vmware tools with sudo /etc/init.d/vmware-tools stop. ESX shows that tools isn't running; Nagiosxi continues to report.
... what is going on??
There is a possibility that some other version of nagios was installed that I've been unable to track down, but, if so, it's doing a great job of not showing up in the ps.