Unable to stop executing checks with 3.2.2

Sven Nierlein sven at consol.de
Fri Sep 10 13:22:00 CEST 2010


 Hi,

It seems like with 3.2.2 the
execute_service_checks=0
and
execute_host_checks=0
setting has no effect anymore.

Its easy to reproduce. Install a clean 3.2.2 tarball with the default config and set both values to 0.
Then start nagios and after a few moments it starts some checks. The webinterface still displays:
Service Checks Being Executed?  NO
Host Checks Being Executed?  NO 

I had a quick look at the patches since 3.2.1 but could not find the reason.

This is the interesting part from the nagios.debug logfile:

[1284124694.798033] [008.1] [pid=9046] ** Event Check Loop
[1284124694.798203] [008.1] [pid=9046] Next High Priority Event Time: Fri Sep 10 15:18:18 2010
[1284124694.798261] [008.1] [pid=9046] Next Low Priority Event Time:  Fri Sep 10 15:18:15 2010
[1284124694.798307] [008.1] [pid=9046] Current/Max Service Checks: 0/0
[1284124694.798349] [008.2] [pid=9046] No events to execute at the moment.  Idling for a bit...
[1284124694.798393] [001.0] [pid=9046] check_for_external_commands()
[1284124694.798442] [064.1] [pid=9046] Making callbacks (type 8)...
[1284124695.048890] [008.1] [pid=9046] ** Event Check Loop
[1284124695.048988] [008.1] [pid=9046] Next High Priority Event Time: Fri Sep 10 15:18:18 2010
[1284124695.049016] [008.1] [pid=9046] Next Low Priority Event Time:  Fri Sep 10 15:18:15 2010
[1284124695.049038] [008.1] [pid=9046] Current/Max Service Checks: 0/0
[1284124695.049060] [024.1] [pid=9046] We're not executing service checks right now, so we'll skip this event.
[1284124695.049081] [001.0] [pid=9046] remove_event()
[1284124695.049104] [064.1] [pid=9046] Making callbacks (type 8)...
[1284124695.049125] [001.0] [pid=9046] reschedule_event()
[1284124695.049178] [001.0] [pid=9046] add_event()
[1284124695.049201] [064.1] [pid=9046] Making callbacks (type 8)...
[1284124695.049224] [064.1] [pid=9046] Making callbacks (type 20)...
[1284124695.049245] [008.1] [pid=9046] Running event...
[1284124695.049266] [001.0] [pid=9046] handle_timed_event() start
[1284124695.049288] [064.1] [pid=9046] Making callbacks (type 8)...
[1284124695.049317] [008.0] [pid=9046] ** Timed Event ** Type: 0, Run Time: Fri Sep 10 15:18:53 2010
[1284124695.049342] [008.0] [pid=9046] ** Service Check Event ==> Host: 'localhost', Service: 'Current Users', Options: 0, Latency: -37.951000 sec
[1284124695.049371] [001.0] [pid=9046] run_scheduled_service_check() start
[1284124695.049392] [016.0] [pid=9046] Attempting to run scheduled check of service 'Current Users' on host 'localhost': check options=0, latency=-37.951000
[1284124695.049442] [001.0] [pid=9046] run_async_service_check()
[1284124695.049476] [001.0] [pid=9046] check_service_check_viability()
[1284124695.049509] [001.0] [pid=9046] check_time_against_period()
[1284124695.049538] [001.0] [pid=9046] check_service_dependencies()
[1284124695.049584] [064.1] [pid=9046] Making callbacks (type 13)...
[1284124695.049607] [016.0] [pid=9046] Checking service 'Current Users' on host 'localhost'...
[1284124695.049656] [001.0] [pid=9046] get_raw_command_line()


Regards,
 Sven

------------------------------------------------------------------------------
Automate Storage Tiering Simply
Optimize IT performance and efficiency through flexible, powerful, 
automated storage tiering capabilities. View this brief to learn how
you can reduce costs and improve performance. 
http://p.sf.net/sfu/dell-sfdev2dev




More information about the Developers mailing list