Passive Checks & State

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
cstuart
Posts: 37
Joined: Thu May 02, 2019 8:18 am

Passive Checks & State

Post by cstuart »

Hello - I was wondering if we could submit a feature request to be able to treat critical statuses on passive checks as soft until they've been critical for X seconds.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Passive Checks & State

Post by lmiltchev »

Hmm, what's wrong with using the max_check_attempts directive?
In order to prevent false alarms from transient problems, Nagios Core allows you to define how many times a service or host should be (re)checked before it is considered to have a "real" problem. This is controlled by the max_check_attempts option in the host and service definitions.
Soft states occur in the following situations:
* When a service or host check results in a non-OK or non-UP state and the service check has not yet been (re)checked the number of times specified by the max_check_attempts directive in the service or host definition. This is called a soft error.
* When a service or host recovers from a soft error. This is considered a soft recovery.
https://assets.nagios.com/downloads/nag ... types.html
Be sure to check out our Knowledgebase for helpful articles and solutions!
cstuart
Posts: 37
Joined: Thu May 02, 2019 8:18 am

Re: Passive Checks & State

Post by cstuart »

I'll be happy if I misunderstood. I thought max_check_attempts was only for active checks.

If I can use that, it would be a start. There might also be passive checks that don't come in on a regular interval, so setting a max_check_attempts might not accurately dictate when there's a real problem. It would be very helpful to be able to specify an amount of time.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Passive Checks & State

Post by lmiltchev »

My bad, somehow I missed the fact that you were talking about passive checks... :oops:

This functionality doesn't exist in Nagios Core. You are welcome to file a feature request here:
https://github.com/NagiosEnterprises/nagioscore/issues
Please keep in mind that the decision to implement the enhancement is at the discretion of our development team. Thank you!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked