event handler notification

Mikael Fridh frimik at gmail.com
Fri Aug 22 19:26:32 CEST 2008


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





More information about the Users mailing list