Re: [Nagios-users] event handler & flapping

2010-04-26 Thread Giorgio Zarrelli
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  ha  
scritto:

> On Mon, Apr 26, 2010 at 11:20 AM, Flyinvap  wrote:
>> Le Mon, 26 Apr 2010 10:25:37 -0400,
>> alexus  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@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@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@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 & flapping

2010-04-26 Thread alexus
On Mon, Apr 26, 2010 at 11:20 AM, Flyinvap  wrote:
> Le Mon, 26 Apr 2010 10:25:37 -0400,
> alexus  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@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@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 & flapping

2010-04-26 Thread Flyinvap
Le Mon, 26 Apr 2010 10:25:37 -0400,
alexus  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@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] event handler & flapping

2010-04-26 Thread alexus
is there a way to incorporate flapping state into event handler?

-- 
http://alexus.org/

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