Active Hosts, Service, Notifications disabled
Posted: Mon Jun 23, 2014 4:24 pm
The "System OK" at the top right hand corner of the server web page has 3 green checks and 3 blue i's. When I click on the blue information buttons, I get the "monitoring Engine Status" screen. It shows the process state as 'Not Running'. I click the "Start" Action button and it says "Your request was not processed in a timely manner. It may still execute, as the server may be temporarily busy." The nagios.log has the following:
I have tried stopping nagios, mysqld, npcd, postgresql, crond, ndo2db and then starting them all one at a time to no avail. Then I restarted the entire server and it still didn't help.
Here is the var directory:
And here is a grep for lock_file in nagios.cfg:
Code: Select all
[1403558167] Warning: use_embedded_perl_implicitly is deprecated and will be removed.
[1403558167] Warning: sleep_time is deprecated and will be removed.
[1403558167] Warning: p1_file is deprecated and will be removed.
[1403558167] Warning: external_command_buffer_slots is deprecated and will be removed. All commands are always processed upon arrival
[1403558167] Warning: enable_embedded_perl is deprecated and will be removed.
[1403558167] Warning: command_check_interval is deprecated and will be removed. Commands are always handled on arrival
[1403558167] Lockfile '/usr/local/nagios/var/nagios.lock' looks like its already held by another instance of Nagios (PID 1584). Bailing out...
Here is the var directory:
Code: Select all
root@nagiosxi akepley# ls -la /usr/local/nagios/var/
total 25596
drwxrwxr-x 6 nagios nagios 4096 Jun 23 16:23 .
drwxr-xr-x 9 root root 4096 May 16 09:19 ..
drwxrwxr-x 2 nagios nagios 36864 Jun 22 23:59 archives
-rw-r--r-- 1 nagios nagios 0 Jun 23 16:23 host-perfdata
-rw-r--r-- 1 nagios nagios 5 Jun 23 16:20 nagios.lock
-rw-r--r-- 1 nagios nagios 345288 Jun 23 16:20 nagios.log
-rw-r--r-- 1 nagios nagios 5 Jun 23 16:14 ndo2db.lock
srwxr-xr-x 1 nagios nagios 0 Jun 23 16:14 ndo.sock
-rw-r--r-- 1 nagios nagios 3513642 Jun 23 16:23 npcd.log
-rw-r--r-- 1 nagios nagios 10485813 Jun 23 07:00 npcd.log.old
-rw-r--r-- 1 nagios nagios 1642570 Jun 23 16:14 objects.cache
-rw-rw-rw- 1 nagios nagios 4857277 Jun 23 16:22 perfdata.log
-rw------- 1 nagios nagios 2639134 Jun 23 16:20 retention.dat
drwxrwsr-x 2 nagios nagcmd 4096 Jun 23 16:16 rw
-rw-r--r-- 1 nagios nagios 1121 Jun 23 16:23 service-perfdata
drwxr-xr-x 5 root root 4096 Sep 12 2013 spool
drwxr-xr-x 2 nagios nagios 4096 Jun 23 16:22 stats
-rw-rw-r-- 1 nagios nagios 2624303 Jun 23 16:23 status.dat
Code: Select all
root@nagiosxi akepley# grep lock_file /usr/local/nagios/etc/nagios.cfg
lock_file=/usr/local/nagios/var/nagios.lock