Need Assist with Host Availability Reporting Issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
mrochelle
Posts: 238
Joined: Fri May 04, 2012 11:20 am
Location: Heart of America

Need Assist with Host Availability Reporting Issue

Post by mrochelle »

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.
nagios_host_log_problem.JPG
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

Post by jdalrymple »

Hi mrochelle,

Can you verify that your nagios.log is indeed getting written?

Code: Select all

tail -f /usr/local/nagios/var/nagios.log
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.
User avatar
mrochelle
Posts: 238
Joined: Fri May 04, 2012 11:20 am
Location: Heart of America

Re: Need Assist with Host Availability Reporting Issue

Post by mrochelle »

Yes, the log is being written to. I going to open a problem ticket for further investigation so you can close this problem out. :geek:
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Need Assist with Host Availability Reporting Issue

Post by jdalrymple »

Solved in customer ticket, had to modify default setting of the following in nagios.cfg:

Code: Select all

log_initial_states=0
Locked