Stale service and host checks

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
MMG3
Posts: 4
Joined: Wed Nov 02, 2011 8:34 am

Stale service and host checks

Post by MMG3 »

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.
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Stale service and host checks

Post by nscott »

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/
Nicholas Scott
Former Nagios employee
MMG3
Posts: 4
Joined: Wed Nov 02, 2011 8:34 am

Re: Stale service and host checks

Post by MMG3 »

nscott wrote:When you stop or restart the service do you see anything show up in the nagios.log?
There is no change in nagios.log when the service is stopped, started, or restarted.
When you start the service does it create a /usr/local/nagios/var/rw/nagios.cmd ?
Yes, it does, and the file is removed when nagios is stopped.
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/
lrwxrwxrwx 1 apache nagios 18 Jun 27 16:54 var -> /var/nagiosram/var
drwxrwsr-x 2 nagios nagcmd 60 Nov 9 13:03 rw
MMG3
Posts: 4
Joined: Wed Nov 02, 2011 8:34 am

Re: Stale service and host checks

Post by MMG3 »

Is there any other information you need?
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Stale service and host checks

Post by mguthrie »

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
MMG3
Posts: 4
Joined: Wed Nov 02, 2011 8:34 am

Re: Stale service and host checks

Post by MMG3 »

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
Thank you! That seems to have resolved the issue.
Locked