[Nagios-users] event handler notification

2008-08-22 Thread Jordi Prats
Hi all,
I've found no way to send a notification if a event handler is
triggered. Is it possible?

Many thanks!

-- 
Jordi

-
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=100url=/
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] event handler notification

2008-08-22 Thread Marc Powell

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.

--
Marc



-
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=100url=/
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] event handler notification

2008-08-22 Thread Mikael Fridh
On Fri, Aug 22, 2008 at 6:02 PM, Marc Powell [EMAIL PROTECTED] 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=100url=/
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] event handler notification

2008-08-22 Thread Taylor Dondich
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 [EMAIL PROTECTED] wrote:
 On Fri, Aug 22, 2008 at 6:02 PM, Marc Powell [EMAIL PROTECTED] 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=100url=/
 ___
 Nagios-users mailing list
 Nagios-users@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=100url=/
___
Nagios-users mailing list
Nagios-users@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