Re: [Nagios-devel] eventhandler timeout 3.0.3
-
Guest
Re: [Nagios-devel] eventhandler timeout 3.0.3
This is a multi-part message in MIME format.
------------7NhE3WuB9OnU6N9D2A0R5Y7
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Sven Nierlein a écrit :
>> [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:[email protected]
tél. 02 40 12 73 62
------------7NhE3WuB9OnU6N9D2A0R5Y7
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
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.
------------7NhE3WuB9OnU6N9D2A0R5Y7--
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]