Passive checks reams to miss a beat

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Passive checks reams to miss a beat

Post by ssax »

Did the service change state? If it's in an OK state and then you submit another OK state it will not be logged, see the table showing logged normally vs logged with stalking here:

Code: Select all

https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/4/en/stalking.html
If it was in an OK state and then you submit another OK state it will not be logged.

If it was in a CRITICAL/WARNING/UNKNOWN state and you submitted an OK it would be logged.

Stalking just logs addition problem output (not the OKs).
mrmit
Posts: 11
Joined: Mon May 25, 2020 3:07 am

Re: Passive checks reams to miss a beat

Post by mrmit »

ok, so it is not possible to get Nagios to log several OK status updates with different message output?
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Passive checks reams to miss a beat

Post by ssax »

If you setup State Stalking on the OK you will see it logged in the Event Log report but they will not be logged in the State History report (I just labbed this up and validated it). I reached out to development for clarification on this and it would require a code change in Nagios Core in order to get the OKs listed in the state history report, there isn't currently a way to get that into the state history report given existing functionality.

I have created a feature request here:

https://github.com/NagiosEnterprises/na ... issues/794

Please keep in mind that the decision to implement the enhancement is at the discretion of our development team.
Locked