Alternate check interval when state become CRITICAL

Justin Pasher justinp at newmediagateway.com
Tue Feb 10 20:18:43 CET 2009


Thomas Guyot-Sionnest wrote:
>> What I would like to do is have the check interval change to every one 
>> minute when the state become CRITICAL, but keep the notifications at 5 
>> minute intervals.
>>     
>
> It's simple: use an eventhandler.
>
> You can look at this for inspiration, although you would likely need
> some more details to understand what I'm trying to do there...
> http://solaris.beaubien.net/~dermoth/media/nagios/handle_stall_counter
>   

It looks like this should allow me to do exactly what I need to do. 
Thanks for the sample script!

Justin Pasher

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list