We have a Nagios XI 2011R1.5 installation on CentOS 5.5 that has apparently gone on a long vacation... Since 2001-11-01, no service checks or host checks appear to be updating. There is a nagios process running, but /usr/local/nagios/var/nagios.log does not appear to be updating. The previous admin set this nagios installation up as a ramdisk-based setup; it is also running on a VM. Linux kernel is 2.6.18-194.32.1.el5. This machine is monitoring about 1350 hosts with 4300 services, and I am at my wits' end - can someone tell me where to start?
I have stopped and restarted the nagios service. I have also rebooted the machine. Neither appears to have any impact.
Thanks.
Stale service and host checks
Re: Stale service and host checks
When you stop or restart the service do you see anything show up in the nagios.log?
When you start the service does it create a /usr/local/nagios/var/rw/nagios.cmd ? What are the permissions on the directory /usr/local/nagios/var/ and /usr/local/nagios/var/rw/
ll /usr/local/nagios/var/rw/
ll /usr/local/nagios/var/
When you start the service does it create a /usr/local/nagios/var/rw/nagios.cmd ? What are the permissions on the directory /usr/local/nagios/var/ and /usr/local/nagios/var/rw/
ll /usr/local/nagios/var/rw/
ll /usr/local/nagios/var/
Nicholas Scott
Former Nagios employee
Former Nagios employee
Re: Stale service and host checks
There is no change in nagios.log when the service is stopped, started, or restarted.nscott wrote:When you stop or restart the service do you see anything show up in the nagios.log?
Yes, it does, and the file is removed when nagios is stopped.When you start the service does it create a /usr/local/nagios/var/rw/nagios.cmd ?
lrwxrwxrwx 1 apache nagios 18 Jun 27 16:54 var -> /var/nagiosram/varWhat are the permissions on the directory /usr/local/nagios/var/ and /usr/local/nagios/var/rw/
ll /usr/local/nagios/var/rw/
ll /usr/local/nagios/var/
drwxrwsr-x 2 nagios nagcmd 60 Nov 9 13:03 rw
Re: Stale service and host checks
Is there any other information you need?
Re: Stale service and host checks
That var directory should be owned by nagios. I might suggest this fix, it should take care of any other permissions issues.
http://library.nagios.com/library/produ ... -nagios-xi
http://library.nagios.com/library/produ ... -nagios-xi
Re: Stale service and host checks
Thank you! That seems to have resolved the issue.mguthrie wrote:That var directory should be owned by nagios. I might suggest this fix, it should take care of any other permissions issues.
http://library.nagios.com/library/produ ... -nagios-xi