Page 2 of 2

Re: Passive checks reams to miss a beat

Posted: Mon Oct 05, 2020 5:42 pm
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).

Re: Passive checks reams to miss a beat

Posted: Tue Oct 06, 2020 9:43 am
by mrmit
ok, so it is not possible to get Nagios to log several OK status updates with different message output?

Re: Passive checks reams to miss a beat

Posted: Wed Oct 07, 2020 12:28 pm
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.