Showing report of ALL checks, including OK checks

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
almonitoradmin
Posts: 24
Joined: Fri Jan 10, 2014 10:08 am

Showing report of ALL checks, including OK checks

Post 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.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Showing report of ALL checks, including OK checks

Post 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.
almonitoradmin
Posts: 24
Joined: Fri Jan 10, 2014 10:08 am

Re: Showing report of ALL checks, including OK checks

Post 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?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Showing report of ALL checks, including OK checks

Post by lmiltchev »

No, the State History report shows the state changes - it is not going to show all of the "OK" checks.
Be sure to check out our Knowledgebase for helpful articles and solutions!
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Showing report of ALL checks, including OK checks

Post 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.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
almonitoradmin
Posts: 24
Joined: Fri Jan 10, 2014 10:08 am

Re: Showing report of ALL checks, including OK checks

Post by almonitoradmin »

OK...thanks for verifying that for me. I'll get that data from the log.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Showing report of ALL checks, including OK checks

Post 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/
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

Re: Showing report of ALL checks, including OK checks

Post 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.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Showing report of ALL checks, including OK checks

Post by sreinhardt »

That's a good point snapon, didn't even occur to me! :)
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Locked