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...
Automatically state return to OK after a time
Re: Automatically state return to OK after a time
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?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Automatically state return to OK after a time
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?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Automatically state return to OK after a time
Hi,
Good question for the way...
It's SNMP trap
Good question for the way...
It's SNMP trap
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Automatically state return to OK after a time
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?
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.
Re: Automatically state return to OK after a time
Yes.
Freshness threshold is the intervall in second ?
I try this
Freshness threshold is the intervall in second ?
I try this
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Automatically state return to OK after a time
Yes, freshness_threshold is in seconds. Let us know how this works for you.
Re: Automatically state return to OK after a time
Work fine ! thank you