event handler question (if event handler is what I need?)

Yaniv yaniv.fer at gmail.com
Wed Jun 11 14:09:03 CEST 2008


Marc

Thank you... the documentation is very good and it answered all my questions
about event handler...

And it works now... thanks again

-----Original Message-----
From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell
Sent: Tuesday, June 10, 2008 15:03
Cc: Nagios Users Mailinglist
Subject: Re: [Nagios-users] event handler question (if event handler is what
I need?)


On Jun 10, 2008, at 4:09 AM, Yaniv wrote:

> Hello Nagios users

Hello! Please send to this list using text/plain e-mail. Sending HTML  
does not-so-wonderful things for the archives and for users who  
receive the list via digest.

> I am new to nagios and have a question about event handlers. (if  
> event handler is what I need?)

Yes, that sounds like just what you need.


> I would like a script that I have located at /root/scripts/test.sh  
> to be executed if the hard drive get's to the warning state and  
> critical state.

Perfect, even down to running a script on the nagios box. Very  
straigtforward.

> How would I do that?

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

--
Marc


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
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
No virus found in this incoming message.
Checked by AVG. 
Version: 8.0.100 / Virus Database: 270.2.0/1493 - Release Date: 09/06/2008
17:25


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
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