run a script based on event??

Marc Powell marc at ena.com
Wed Aug 3 17:08:47 CEST 2005



> -----Original Message-----
> From: HP Geeza [mailto:getbacktome3 at hotmail.com]
> Sent: Wednesday, August 03, 2005 10:01 AM
> To: Marc Powell; nagios-users at lists.sourceforge.net
> Subject: run a script based on event??
> 
> HI
> 
> I was wondering if this is possible and whether anybody has tried it?
- I
> am
> monitoring the temperature probe in our lab via snmp...and as a result
i
> was
> wondering whether it is possible in nagios to run a script of some
sort
> (which will probably contain some sort of shutdown command) when the
> temperature triggers an event i.e when it goes above a certain
threshold.
> 
> I would like to do this because if the AC busts and our lab starts to
> overheat then i would like nagios to run a script which will turn off
some
> of the machines?

Oddly enough they're called event handlers.

http://nagios.sourceforge.net/docs/1_0/eventhandlers.html

--
Marc 

p.s. Please don't e-mail me directly. Even though I participate a lot
here, I'm not dedicated Nagios support ;)




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
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