Re: [Nagios-devel] eventhandler timeout 3.0.4

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] eventhandler timeout 3.0.4

Post by Guest »

Hi,

I already posted this issue a while ago, see
"[Nagios-devel] blocking character of event_handlers" on the list.

Regards,

Michael


Am 29.10.08 14:53 schrieb "Sven Nierlein" unter :

> Iretried this test with the 3.0.4 which resulted in the same behavior.
>=20
> I installed a fresh installation from the sources, with just one
> servicecheck.
>=20
> Nagios works fine till the eventhandler has to be executed:
>=20
> nagios.log:
>> [1225287417] Nagios 3.0.4 starting... (PID=3D2345)
>> [1225287417] Local time is Wed Oct 29 14:36:57 CET 2008
>> [1225287417] LOG VERSION: 2.0
>> [1225287417] Finished daemonizing... (New PID=3D2346)
>> [1225287547] SERVICE ALERT: localhost;test;CRITICAL;SOFT;1;(null)
>> [1225287547] SERVICE EVENT HANDLER:
>> localhost;test;(null);(null);(null);sleep
>=20
> nagios.debug:
>> [1225287547.230915] [2048.1] [pid=3D2346] Done. Final output:
>> 'SERVICE ALERT: localhost;test;CRITICAL;SOFT;1;(null)'
>> [1225287547.230921] [2048.1] [pid=3D2346] **** END MACRO PROCESSING
>> *************
>> [1225287547.231080] [064.1] [pid=3D2346] Making callbacks (type 9)...
>> [1225287547.231091] [001.0] [pid=3D2346] handle_service_event()
>> [1225287547.231098] [064.1] [pid=3D2346] Making callbacks (type 30)...
>> [1225287547.231111] [001.0] [pid=3D2346] run_global_service_event_handler(=
)
>> [1225287547.231118] [001.0] [pid=3D2346] run_service_event_handler()
>> [1225287547.231125] [016.1] [pid=3D2346] Running event handler for
>> service 'test' on host 'localhost'...
>> [1225287547.231136] [064.1] [pid=3D2346] Making callbacks (type 11)...
>> [1225287547.231155] [001.0] [pid=3D2346] get_raw_command_line()
>> [1225287547.231163] [2320.2] [pid=3D2346] Raw Command Input: /bin/bash
>> -c "sleep 300"
>> [1225287547.231170] [2320.2] [pid=3D2346] Expanded Command Output:
>> /bin/bash -c "sleep 300"
>> [1225287547.231177] [016.2] [pid=3D2346] Raw service event handler
>> command line: /bin/bash -c "sleep 300"
>> [1225287547.231184] [001.0] [pid=3D2346] process_macros()
>> [1225287547.231190] [2048.1] [pid=3D2346] **** BEGIN MACRO PROCESSING
>> ***********
>> [1225287547.231197] [2048.1] [pid=3D2346] Processing: '/bin/bash -c
>> "sleep 300"'
>> [1225287547.231203] [2048.2] [pid=3D2346] Processing part: '/bin/bash
>> -c "sleep 300"'
>> [1225287547.231211] [2048.2] [pid=3D2346] Not currently in macro.
>> Running output (24): '/bin/bash -c "sleep 300"'
>> [1225287547.231218] [2048.1] [pid=3D2346] Done. Final output:
>> '/bin/bash -c "sleep 300"'
>> [1225287547.231234] [2048.1] [pid=3D2346] **** END MACRO PROCESSING
>> *************
>> [1225287547.231241] [016.2] [pid=3D2346] Processed service event handler
>> command line: /bin/bash -c "sleep 300"
>> [1225287547.231327] [064.1] [pid=3D2346] Making callbacks (type 9)...
>> [1225287547.231336] [001.0] [pid=3D2346] my_system()
>> [1225287547.231344] [256.1] [pid=3D2346] Running command '/bin/bash -c
>> "sleep 300"'...
>> [1225287547.231367] [064.1] [pid=3D2346] Making callbacks (type 10)...
>> [1225287547.231967] [001.0] [pid=3D2451] process_macros()
>> [1225287547.231997] [001.0] [pid=3D2451] process_macros()
>> [1225287547.232013] [001.0] [pid=3D2451] process_macros()
>> [1225287547.232028] [001.0] [pid=3D2451] process_macros()
>> [1225287547.232042] [001.0] [pid=3D2451] process_macros()
>> [1225287547.232056] [001.0] [pid=3D2451] process_macros()
>> [1225287551.231246] [016.2] [pid=3D2448] Moving temp check result file
>> '/tmp/nagios/var/spool/checkresults/check13kIOP' to queue file
>> '/tmp/nagios/var/spool/checkresults/cn2NyLo'...
>>=20
>> *** 300sec gap ***
>>=20
>> [1225287847.239230] [256.1] [pid=3D2346] Execution time=3D30.001 sec
>> , early timeout=3D0, result=3D2[1225287847.239309] [064.1] [pid=3D2346]
>> Making callbacks (type 10)...
>> [1225287847.239332] [064.1] [pid=3D2346] Making callbacks (type 11)...
>> [1225287847.239341] [001.0] [pid=3D2346] check_for_external_commands()
>> [1225287847.239350] [064.1] [pid=3D2346] Making callbacks (type 18)...
>> [1225287847.239376] [016.1] [pid=3D2346] Rescheduling next check of
>> service at We

...[email truncated]...


This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked