Nagios crashed
-
jtintegration
- Posts: 56
- Joined: Tue Nov 19, 2013 5:01 pm
Nagios crashed
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
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
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
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
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
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
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
Once you have the debug output, change those two options in ndo2db.cfg back to what they were.
Code: Select all
service ndo2db restart
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