Page 1 of 1
Nagios crashed
Posted: Mon Mar 20, 2017 3:20 pm
by jtintegration
My Nagios server crashed so I rebooted the VM but now I can't login to the web browser? I can SSH to the server fine. Help???
Re: Nagios crashed
Posted: Mon Mar 20, 2017 3:24 pm
by dwhitfield
You are probably going to want to take a look at
https://support.nagios.com/kb/article.php?id=26 and
https://support.nagios.com/kb/article.php?id=24
Please let us know if those do not resolve your issue
Re: Nagios crashed
Posted: Tue Mar 21, 2017 4:20 pm
by jtintegration
I was eventually able to access the web browser of nagios, but keep getting these messages:
Service: Service Status - ndo2db
Host: localhost
Address: 127.0.0.1
State: WARNING
Info:
ndo2db is not running but subsystem locked
Service: Root Partition
Host: localhost
Address: 127.0.0.1
State: WARNING
Info:
DISK WARNING - free space: / 1360 MB (19% inode=83%):
Date/Time: 2017-03-21 14:00:34
Re: Nagios crashed
Posted: Tue Mar 21, 2017 4:25 pm
by jtintegration
Also Nagios is showing i have 57 hosts down but was able to ping them, not sure why nagios thinks it is down. I am monitoring Ping service for these hosts.
Re: Nagios crashed
Posted: Tue Mar 21, 2017 4:38 pm
by dwhitfield
Remove the lock file, /usr/local/nagios/var/ndo2db.lock and them restart the ndo2db process by running the following.
If that doesn't work, in /usr/local/nagios/etc/ndo2db.cfg change debug_level to -1 (yes, minus 1) and debug_verbosity to 2.
Then,
rm -f /usr/local/nagios/var/ndo2db.lock again and then
service ndo2db restart.
Then, post the output of the following
Code: Select all
tail -25 /usr/local/nagios/var/ndo2db.debug
tail -25 /var/log/messages
tail -25 /usr/local/nagios/var/nagios.log
df -h
df -i
Once you have the debug output, change those two options in ndo2db.cfg back to what they were.