Page 1 of 1
Showing report of ALL checks, including OK checks
Posted: Fri Jun 06, 2014 9:20 am
by almonitoradmin
We have a particular temporary need to show all checks performed on a host in Nagios XI. (version 2014R1.0).
Is that possible? We need to have a report of ALL ok service checks to verify exactly when a check was performed on a machine. In state history, it only shows OK after there has been a failure of a service.
We need to view successive ok checks.
Re: Showing report of ALL checks, including OK checks
Posted: Fri Jun 06, 2014 9:47 am
by slansing
The state history report will show both hard and soft states, make sure you are on a recent version of XI such as 2014 r1.1 and you should have a drop down allowing you to select this.
Re: Showing report of ALL checks, including OK checks
Posted: Fri Jun 06, 2014 10:45 am
by almonitoradmin
Sorry, I may not have been clear in my original post.
Our version (2014 R1.0) DOES have an option for both hard and soft states, and I have selected BOTH from the drop down menu.
However, since I configured a 5 minute interval between checks, I should be able to see an OK in my status history once every 5 minutes all day long - if my service is up all day, I would like to see 288 OK alerts for each 5 minutes throughout that entire day. This would provide proof to our auditors that in fact nagios is checking the service once every 5 minutes.
Is that possible to configure?
Re: Showing report of ALL checks, including OK checks
Posted: Fri Jun 06, 2014 12:02 pm
by lmiltchev
No, the State History report shows the state changes - it is not going to show all of the "OK" checks.
Re: Showing report of ALL checks, including OK checks
Posted: Fri Jun 06, 2014 12:04 pm
by sreinhardt
This is not presently possible with any of the current reports. Setting the service to volatile will likely force them all to be entered into the db, but I can't imagine it will be too healthy for it. You should be able to find this information in the nagios.log file, but it will require manual parsing.
Re: Showing report of ALL checks, including OK checks
Posted: Fri Jun 06, 2014 12:11 pm
by almonitoradmin
OK...thanks for verifying that for me. I'll get that data from the log.
Re: Showing report of ALL checks, including OK checks
Posted: Fri Jun 06, 2014 12:43 pm
by slansing
Yeah that would probably be the easiest way, and nothing that does this currently exists to my knowledge. I would stop by the exchange and look around though:
http://exchange.nagios.org/
Re: Showing report of ALL checks, including OK checks
Posted: Fri Jun 06, 2014 1:33 pm
by snapon_admin
Wouldn't the event log do this? When I look at mine it shows all events, OK checks, Unkown, Warning, Critical, notifications, flapping alerts, everything. There's a filter as well if you want to only show the events for a particular host. I mean, this will literally show everything that happens on that host, but it could be worth looking at. Might be close to what you're looking for.
Re: Showing report of ALL checks, including OK checks
Posted: Fri Jun 06, 2014 1:48 pm
by sreinhardt
That's a good point snapon, didn't even occur to me!
