Page 1 of 1
Change state from warning to critical after set time
Posted: Thu Jul 17, 2014 11:11 am
by gbrown
Hi
Is it possible to change the state from warning to critical after a set time?
Thanks
Re: Change state from warning to critical after set time
Posted: Thu Jul 17, 2014 4:49 pm
by tmcdonald
This is not a built-in function in Nagios, no. You might be able to create a wrapper script around your plugin that will maintain state and change based on time elapsed.
Re: Change state from warning to critical after set time
Posted: Fri Jul 18, 2014 3:36 am
by gbrown
Thanks for the response I thought that may be the case as I couldn't find anything that looked like it would do it.
Re: Change state from warning to critical after set time
Posted: Fri Jul 18, 2014 9:30 am
by tmcdonald
We're always happy to help, but some things just don't work out of the box.