event handler not working

Kevin Manuel kmanuel at unb.ca
Sat Jun 7 15:18:47 CEST 2008


Hi Marc,

I am actually trying to use the event handler to send a message when the
host is already in an OK state and an additional service=OK is received. I
have not enable debug - how do I go about this?

Kevin

-----Original Message-----
From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell
Sent: June-06-08 11:40 AM
To: nagios Mailinglist
Subject: Re: [Nagios-users] event handler not working


On Jun 6, 2008, at 6:49 AM, Kevin Manuel wrote:

> I should add that I am trying to invoke the event handler through  
> passive
> service checks supplied by an external command (the external  
> commands and
> passive service checks work fine, but I'm wondering if something  
> needs to be
> configured differently for Nagios to call the event handler)
>

Based on my reading of the code, when it comes to event handlers  
there's no difference between an active and passive check. Nagios will  
_not_ run a service event handler if the host is in a non-OK state  
though. Is that the case for you? Have you enabled Debug? If so,  
what's the output during an event when a handler should fire?

--
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


-------------------------------------------------------------------------
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