Nagios XI Version : 5.2.0
nagprod01.cellnet.com 2.6.32-279.11.1.el6.x86_64 x86_64
CentOS release 6.3 (Final)
Gnome is not installed
Apache Information
PHP Version: 5.3.3
Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.71 Safari/537.36
Need help with resolving a host availability reporting issue.
After a hardware problem on 10/02, I experience some nagios database corruption but the recommended recovery procedures appeared to resolve any problems. However, it was recently brought to my attention that most of the hosts were not reporting availability, or were indicated as down although they are up. The last hard status change indicated in the logs was on 10/02. I've truncated the nagios_hoststatus table which was the only table with any significant damage with no impact on the problem. Attached is a picture from the availability report from Nagios core which indicates the problem.
I need to figure out how to get the host availability reporting back to normal. Any suggestions are appreciated.
Need Assist with Host Availability Reporting Issue
Need Assist with Host Availability Reporting Issue
You do not have the required permissions to view the files attached to this post.
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: Need Assist with Host Availability Reporting Issue
Hi mrochelle,
Can you verify that your nagios.log is indeed getting written?
Also, what happens if you do like a week-long lookback period instead of just the last day?
The report you're looking at doesn't source it's data from the database if I'm not mistaken, but rather those logs and/or archive logs.
Can you verify that your nagios.log is indeed getting written?
Code: Select all
tail -f /usr/local/nagios/var/nagios.logThe report you're looking at doesn't source it's data from the database if I'm not mistaken, but rather those logs and/or archive logs.
Re: Need Assist with Host Availability Reporting Issue
Yes, the log is being written to. I going to open a problem ticket for further investigation so you can close this problem out. 
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: Need Assist with Host Availability Reporting Issue
Solved in customer ticket, had to modify default setting of the following in nagios.cfg:
Code: Select all
log_initial_states=0