Event handler with null values

Thomas Guyot-Sionnest dermoth at aei.ca
Mon Jun 23 03:34:59 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 22/06/08 11:49 AM, Marc Powell wrote:
> 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?

I believe this was reported on IRC and the guy sent an email about it...
If I remember properly is was effectively a logging problem (I'm not
100% sure though),

Are you seeing this on Nagios 3.0.2? If so I'll look into it when I have
time and repost it.

Thanks

Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIXv3D6dZ+Kt5BchYRAgYzAKDIYdrNDqpoWGqzUxXY7i1hW8RWdQCghBOi
4aASvAiLHYxtaKJzIGc72GY=
=JHKh
-----END PGP SIGNATURE-----

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