Page 1 of 1

Some hosts not showing up in state history report

Posted: Wed Jul 08, 2015 10:00 am
by snapon_admin
For some reason all of our windows hosts are not showing up in our state history report. It looks like pretty much everything else is, but not the windows hosts. Here's an example:
state hstory.png
That particular host was critical for 20 minutes, but that is not reflected in the state history report at all. Why?

Re: Some hosts not showing up in state history report

Posted: Wed Jul 08, 2015 10:14 am
by ssax
It looks like you searched for the word critical in the top right corner and because the status information on that service does not have the word critical, it will not list it.
critical.png
Please clear out the word critical out of the search bar and then click update and it should show then.

Re: Some hosts not showing up in state history report

Posted: Wed Jul 08, 2015 10:27 am
by snapon_admin
Ah, so that filter doesn't take the "State" column into effect then? Is there a better way to view the state history but ONLY show criticals? We run a daily report of all the things that went critical throughout the day and this is the only way we have to check that, but if filtering for 'critical' doesn't work then that report is inaccurate.

Re: Some hosts not showing up in state history report

Posted: Wed Jul 08, 2015 11:22 am
by ssax
Correct, it doesn't seem to include the state column. What version of XI are you running? I may be able to whip something up quick for you.

Re: Some hosts not showing up in state history report

Posted: Wed Jul 08, 2015 11:34 am
by snapon_admin
We're on 2014R2.5 currently.

Re: Some hosts not showing up in state history report

Posted: Wed Jul 08, 2015 2:30 pm
by lmiltchev
I would recommend upgrading to the latest. You can filter by "State" in 2014R2.7. I believe, this was introduced in 2.6:
- Update Search in State History and top Alert Producers report to target Host Name, Service Description and output -SW
https://assets.nagios.com/downloads/nag ... S-2014.TXT
example01.PNG

Re: Some hosts not showing up in state history report

Posted: Wed Jul 08, 2015 3:14 pm
by ssax
Unfortunately upgrading to 2014R2.7 will not include that feature, it's because lmiltchev had the warning text in the information column as well.

I'm unable to provide a solution at this time, I got close but I'm unable to get it to work perfectly without substantial underlying code modifications.

I've created a feature request for it:

Code: Select all

NEW TASK ID 5970 created - Nagios XI Feature Request: State History Report - Add ability to search/filter by State (warning, critical, etc)

Re: Some hosts not showing up in state history report

Posted: Thu Jul 09, 2015 9:11 am
by snapon_admin
Alrighty, thanks much. I will patiently await that feature. :ugeek:

Re: Some hosts not showing up in state history report

Posted: Thu Jul 09, 2015 9:20 am
by ssax
Me too! :) Marking as resolved and locking the topic.