[icinga-checkins] icinga.org: icinga-core/rbartels/cgis: fix for event execution loop re-scheduling host checks instead of executing them if service checks are disabled (Ethan Galstad)

git at icinga.org git at icinga.org
Sat Sep 4 12:32:54 CEST 2010


Module: icinga-core
Branch: rbartels/cgis
Commit: 6190718164d2d8376b47d4a1686679a0fbe9bc8c
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=6190718164d2d8376b47d4a1686679a0fbe9bc8c

Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Mon Aug 30 12:02:12 2010 +0200

fix for event execution loop re-scheduling host checks instead of executing them if service checks are disabled (Ethan Galstad)

refs #581

---

 Changelog     |    1 +
 base/events.c |    3 +++
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/Changelog b/Changelog
index 98e5ea0..9ec2081 100644
--- a/Changelog
+++ b/Changelog
@@ -18,6 +18,7 @@ ENHANCEMENTS
 FIXES
 * core: fix send comments to the broker with proper expiration_time (Matthieu Kermagoret)
 * core: fix segfault in escalation conditions when using object tricks (Vitali Voroth)
+* core: fix for event execution loop re-scheduling host checks instead of executing them if service checks are disabled (Ethan Galstad)
 
 * classic ui: update jquery for multiple cmds dropdown, resolve conflicts with pnp
 
diff --git a/base/events.c b/base/events.c
index 8337e84..6500871 100644
--- a/base/events.c
+++ b/base/events.c
@@ -1234,6 +1234,9 @@ int event_execution_loop(void){
 
 			        }
 
+			/* reset flag */
+			run_event=TRUE;
+
 			/* run a few checks before executing a host check... */
 			if(event_list_low->event_type==EVENT_HOST_CHECK){
 





More information about the icinga-checkins mailing list