event handler & flapping

Giorgio Zarrelli zarrelli at linux.it
Mon Apr 26 19:53:48 CEST 2010


Try with environment variables, they Are described in the manual.  
Mauve they can help!

Ciao,

Giorgio

Il giorno 26/apr/2010, alle ore 18.54, alexus <alexus at gmail.com> ha  
scritto:

> On Mon, Apr 26, 2010 at 11:20 AM, Flyinvap <flyinvap at orange.fr> wrote:
>> Le Mon, 26 Apr 2010 10:25:37 -0400,
>> alexus <alexus at gmail.com> a écrit :
>>
>>> is there a way to incorporate flapping state into event handler?
>>
>> May be test $HOSTPERCENTCHANGE$, $SERVICEPERCENTCHANGE$ or
>> $NOTIFICATIONTYPE$ macros in your event handler script ?
>>
>> --
>> Fly
>>
>>
>>
>> --- 
>> --- 
>> --- 
>> ---------------------------------------------------------------------
>> _______________________________________________
>> 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
>
> I'm trying to pass $NOTIFICATIONTYPE$ into my event handler but I'm
> not sure why, it won't get passed...
> I even turn on debuging and I see my event handler kicks in, yet
> nothing get passed for NOTIFICATIONTYPE, yet all other stuff get
> passed that I was doing before such as SERVICESTATE SERVICESSTATETYPE
> and SERVICEATTEMPTS
>
> -- 
> http://alexus.org/
>
> --- 
> --- 
> --- 
> ---------------------------------------------------------------------
> _______________________________________________
> 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

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