eventhandler timeout 3.0.3

Antoine Musso antoine.musso at laposte.fr
Thu Oct 16 18:05:23 CEST 2008


Sven Nierlein a écrit :
<snip>
>> [1223911373.177064] [001.0] [pid=9787] my_system()
>> [1223911373.177070] [256.1] [pid=9787] Running command '/bin/bash -c 
>> "sleep 6000"'...
>> [1223911373.177110] [064.1] [pid=9787] Making callbacks (type 10)...
>> [1223911373.177903] [001.0] [pid=24327] process_macros()
>> [1223911373.177937] [001.0] [pid=24327] process_macros()
>> [1223911373.177952] [001.0] [pid=24327] process_macros()
>> [1223911373.177966] [001.0] [pid=24327] process_macros()
>> [1223911373.177980] [001.0] [pid=24327] process_macros()
>> [1223911373.177994] [001.0] [pid=24327] process_macros()
> 
> The expected behavior would be a nagios, which kills the sleep after 30
> seconds.

You should maybe let your strace run for a longer time.

The sleep 6000 command is running in pid 9787 at 1223911373 and 
effectively doing nothing. The process_macro() calls are in the same second.

I would expect the service to be killed by pid 24327 at 1223911403 (+30 
secs).


-- 
Antoine MUSSO
DISIT/PROD/QFO/OUT
mailto:antoine.musso at laposte.fr
tél. 02 40 12 73 62
-------------- next part --------------
Post-scriptum La Poste

Ce message est confidentiel. Sous réserve de tout accord conclu par
écrit entre vous et La Poste, son contenu ne représente en aucun cas un
engagement de la part de La Poste. Toute publication, utilisation ou
diffusion, même partielle, doit être autorisée préalablement. Si vous
n'êtes pas destinataire de ce message, merci d'en avertir immédiatement
l'expéditeur.


-------------- next part --------------
-------------------------------------------------------------------------
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=100&url=/
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list