Page 1 of 1
Automatically state return to OK after a time
Posted: Tue Mar 18, 2014 9:14 am
by sonuma
Hello,
With different service passive check, several times per day, I need click "submit passive check result" for return the state to OK
Is it possible to return automatically to OK state after a time defined ? if no other warning appear...
Re: Automatically state return to OK after a time
Posted: Tue Mar 18, 2014 9:47 am
by abrist
Is there a way to make this passive check return a resolved/recovery check? This is typically how people use passives, and it takes less management. What type of check is it? An snmp trap, nsca,nrdp, etc?
Re: Automatically state return to OK after a time
Posted: Tue Mar 18, 2014 9:48 am
by abrist
Is there a way to make this passive check return a resolved/recovery check? This is typically how people use passives, and it takes less management. What type of passive check is it? Ssnmp trap, nsca, nrdp, etc? What metric are you checking?
Re: Automatically state return to OK after a time
Posted: Tue Mar 18, 2014 9:59 am
by sonuma
Hi,
Good question for the way...
It's SNMP trap
Re: Automatically state return to OK after a time
Posted: Tue Mar 18, 2014 10:11 am
by sreinhardt
Just use freshness checking for the interval that you would like, and have the check set to "check_dummy 0". This will result in any time a trap comes in, the freshness check returning it to OK will only happen if another trap does not come before the freshness interval is over. If another trap does come in, the countdown is reset again. Is that what you are looking for?
Re: Automatically state return to OK after a time
Posted: Tue Mar 18, 2014 10:19 am
by sonuma
Yes.
Freshness threshold is the intervall in second ?
I try this
Re: Automatically state return to OK after a time
Posted: Tue Mar 18, 2014 10:32 am
by slansing
Yes, freshness_threshold is in seconds. Let us know how this works for you.
Re: Automatically state return to OK after a time
Posted: Wed Mar 19, 2014 4:16 am
by sonuma
Work fine ! thank you