After a clean install, I am having issues with the Nagios GUI.
It reports that Nagios isn't running, which i'm assuming is a privilege issue with the lock file, but can't find anything wrong.
Process is definitely up and running
All the menu sections show "Error: Could not read object configuration data!"
Nothing interesting in the nagios.log, and I can find nothing interesting in the nagios.debug when it set it running.
Obviously the config check is all good.
Have checked all the obvious and some tweaks I have found around the forum, but to no avail so far.
Any help would be greatly appreciated!
Thanks
Code: Select all
[PROD][root@eqdg3pperf005 etc]# service nagios status
nagios (pid 15905) is running..
nagios 15905 0.0 0.1 36964 4204 ? Ss 11:00 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 15907 0.0 0.0 10016 956 ? S 11:00 0:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 15908 0.0 0.0 10016 948 ? S 11:00 0:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 15909 0.0 0.0 10016 952 ? S 11:00 0:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 15910 0.0 0.0 10016 952 ? S 11:00 0:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 15911 0.0 0.0 36448 1052 ? S 11:00 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
and then all the check scripts..
[PROD][root@eqdg3pperf005 etc]# ll /usr/local/nagios/
total 36
drwxr-xr-x 9 root root 4096 Apr 22 09:53 .
drwxr-xr-x. 13 root root 4096 Apr 22 09:49 ..
drwxrwxr-x 2 nagios nagios 4096 Apr 22 09:49 bin
drwxrwxr-x 3 nagios nagios 4096 Apr 22 10:59 etc
drwxr-xr-x 2 root root 4096 Apr 22 09:53 include
drwxrwxr-x 3 nagios nagios 4096 Apr 22 09:53 libexec
drwxrwxr-x 2 nagios nagios 4096 Apr 22 09:49 sbin
drwxrwxr-x 11 nagios nagios 4096 Apr 22 09:53 share
drwxrwxr-x 5 nagios nagios 4096 Apr 22 11:11 var
[PROD][root@eqdg3pperf005 nagios]# ll /usr/local/nagios/etc/
total 76
drwxrwxr-x 3 nagios nagios 4096 Apr 22 10:59 .
drwxr-xr-x 9 root root 4096 Apr 22 09:53 ..
-rw-rw-r-- 1 nagios nagios 12015 Apr 22 09:50 cgi.cfg
-rw-r--r-- 1 root root 26 Apr 22 09:51 htpasswd.users
-rw-rw-r-- 1 nagios nagios 44727 Apr 22 10:59 nagios.cfg
drwxrwxr-x 2 nagios nagios 4096 Apr 22 10:51 objects
-rw-rw-r-- 1 nagios nagios 1312 Apr 22 09:50 resource.cfg
[PROD][root@eqdg3pperf005 nagios]# ll /usr/local/nagios/var/
total 2864
drwxrwxr-x 5 nagios nagios 4096 Apr 22 11:13 .
drwxr-xr-x 9 root root 4096 Apr 22 09:53 ..
drwxrwxr-x 2 nagios nagios 4096 Apr 22 09:49 archives
-rw-r--r-- 1 nagios nagios 34 Apr 22 11:00 nagios.configtest
-rw-r--r-- 1 nagios nagios 475850 Apr 22 10:59 nagios.debug
-rw-r--r-- 1 nagios nagios 1000072 Apr 22 10:59 nagios.debug.old
-rw-r--r-- 1 nagios nagios 6 Apr 22 11:00 nagios.lock
-rw-r--r-- 1 nagios nagios 81692 Apr 22 11:00 nagios.log
-rw-r--r-- 1 nagios nagios 256263 Apr 22 11:00 objects.cache
-rw-r--r-- 1 nagios nagios 256263 Apr 22 11:00 objects.precache
-rw------- 1 nagios nagios 409449 Apr 22 11:00 retention.dat
drwxrwsr-x 2 nagios nagcmd 4096 Apr 22 11:00 rw
drwxr-xr-x 3 root root 4096 Apr 22 09:49 spool
-rw-rw-r-- 1 nagios nagios 409520 Apr 22 11:13 status.dat