Nagios crashed

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jtintegration
Posts: 56
Joined: Tue Nov 19, 2013 5:01 pm

Nagios crashed

Post 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???
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Nagios crashed

Post 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
jtintegration
Posts: 56
Joined: Tue Nov 19, 2013 5:01 pm

Re: Nagios crashed

Post 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
jtintegration
Posts: 56
Joined: Tue Nov 19, 2013 5:01 pm

Re: Nagios crashed

Post 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.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Nagios crashed

Post by dwhitfield »

Remove the lock file, /usr/local/nagios/var/ndo2db.lock and them restart the ndo2db process by running the following.

Code: Select all

    service ndo2db restart
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.
Locked