Availability Report does not agree with state history

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
skynardo
Posts: 136
Joined: Tue Sep 18, 2012 8:59 am
Location: St. Louis, MO

Availability Report does not agree with state history

Post by skynardo »

Running Nagios XI 5.2.9. I have a service group containing a small number of web services that we are monitoring for availability. When I run an availability report for this service group for period "This Year" it shows both Host and Service Availability as 100% UP/OK. When I run a State History report for the same Servie Group for period "This Year" I see several Critical, Hard State alerts during this time period. How do I troubleshoot this issue? Will grab some screen shots and attach.
skynardo
Posts: 136
Joined: Tue Sep 18, 2012 8:59 am
Location: St. Louis, MO

Re: Availability Report does not agree with state history

Post by skynardo »

Uploading screen shot snippet from State History and Screen shot of availability report.
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Availability Report does not agree with state history

Post by tgriep »

Can you run the Legacy version of the Availability report with the same settings and see if that shows the same information?
Post the output here.
Be sure to check out our Knowledgebase for helpful articles and solutions!
skynardo
Posts: 136
Joined: Tue Sep 18, 2012 8:59 am
Location: St. Louis, MO

Re: Availability Report does not agree with state history

Post by skynardo »

Yes it seems to also report 100% available. See screenshot.
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Availability Report does not agree with state history

Post by ssax »

Do you have the archive files covering that timeperiod here?

Code: Select all

/usr/local/nagios/var/archives/
skynardo
Posts: 136
Joined: Tue Sep 18, 2012 8:59 am
Location: St. Louis, MO

Re: Availability Report does not agree with state history

Post by skynardo »

Sorry for the delay, have been sequestered this week. I only have 60 days of archives and the most recent down hard state was 05/15 so no, don't have that information. I could try to add a non production service to this service group and see if I can recreate this however.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Availability Report does not agree with state history

Post by tmcdonald »

Do what you can to recreate as you said, and if it still comes back weird we can test this next week on our end.
Former Nagios employee
skynardo
Posts: 136
Joined: Tue Sep 18, 2012 8:59 am
Location: St. Louis, MO

Re: Availability Report does not agree with state history

Post by skynardo »

Still trying to recreate this issue using some test environments. Is there an issue with having the same service in 2 different Service Groups (with regard to reporting?) Also, is there a way that I can keep reports from running automatically every time I click on the Reports Link or click on a specific report? With my reports being monthly or YTD, this is causing lots of wait time trying to test. I am also getting intermittent timeout errors.

Thanks
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Availability Report does not agree with state history

Post by Box293 »

skynardo wrote:Also, is there a way that I can keep reports from running automatically every time I click on the Reports Link or click on a specific report? With my reports being monthly or YTD, this is causing lots of wait time trying to test. I am also getting intermittent timeout errors.
Admin > System Config > Performance Settings > Auto-Running
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
skynardo
Posts: 136
Joined: Tue Sep 18, 2012 8:59 am
Location: St. Louis, MO

Re: Availability Report does not agree with state history

Post by skynardo »

I am not able to recreate this issue. I added a test service to my service group(s), bounced the service several times yesterday and ran Availability report using "This Year" and everything worked as it should. Do the reports use data from files in this directory /usr/local/nagios/var/archives? I am currently only keeping 40 days of archive files.
Locked