Event handler with null values

Marc Powell marc at ena.com
Sun Jun 22 17:49:15 CEST 2008


On Jun 22, 2008, at 8:40 AM, Lennard Bakker wrote:

> Hi,
>
> If have created an event handler for sync a time when needed. But when
> nagios calls the event handler, it calls the handler with null values.
>
> [1214136751] SERVICE EVENT HANDLER: host;TIME;(null);(null); 
> (null);synctime
>
> The macro's $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ all  
> have
> a null (empty) value.
>
> Something i did wrong?


This may be a logging only issue. Does your script see correct values?  
Can you post the service{} and event handler command{} definitions?  
What version of nagios are you using?

--
Marc


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
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