event handler notification

Taylor Dondich tdondich at gmail.com
Fri Aug 22 19:44:29 CEST 2008


That seems a bit weird?  In that case, why have an event handler
anyways?  You just tell notifications to be sent on the first soft
state change (max_check_attempts = 1).  Event Handlers are meant to
try and pro-actively resolve the issue before determining notification
is an appropriate step.

Taylor

On Fri, Aug 22, 2008 at 10:26 AM, Mikael Fridh <frimik at gmail.com> wrote:
> On Fri, Aug 22, 2008 at 6:02 PM, Marc Powell <marc at ena.com> wrote:
>>
>> On Aug 22, 2008, at 6:48 AM, Jordi Prats wrote:
>>
>>> Hi all,
>>> I've found no way to send a notification if a event handler is
>>> triggered. Is it possible?
>>
>> Please expand. The question above can be interpreted several ways.
>> There's no reason I am aware of that a normal notification wouldn't go
>> out if event handlers were enabled. If you want a notification that
>> the event handler itself fired, your event handler would have to do
>> that.
>
> Apologies Marc, for my erroneous reply to you.
>
> Jordi: An Event Handler can execute any command, so just define a command
> that executes your normal notification script.
> The official Nagios documentation should contain enough info.
>
> --
> Fridh
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> 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
>



-- 
Taylor
Check out my Shortcut with O'Reilly Press:
Network Monitoring with Nagios:
http://oreilly.com/catalog/9780596528195/index.html

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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