[icinga-checkins] icinga.org: icinga-core/mfriedrich/workers: core: forced host checks should be run in should_run_event()

git at icinga.org git at icinga.org
Tue Aug 7 15:07:01 CEST 2012


Module: icinga-core
Branch: mfriedrich/workers
Commit: 45f83f9a2da583f86db061b0a2a0b8b7c400dee7
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=45f83f9a2da583f86db061b0a2a0b8b7c400dee7

Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Tue Aug  7 14:39:02 2012 +0200

core: forced host checks should be run in should_run_event()

refs #2959

---

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

diff --git a/base/events.c b/base/events.c
index 370fae2..61b716c 100644
--- a/base/events.c
+++ b/base/events.c
@@ -1049,7 +1049,7 @@ static int should_run_event(timed_event *temp_event) {
 
 		/* forced checks override normal check logic */
 		if ((temp_host->check_options & CHECK_OPTION_FORCE_EXECUTION))
-			run_event = FALSE;
+			run_event = TRUE;
 
 		/* reschedule the host check if we can't run it right now */
 		if (run_event == FALSE) {





More information about the icinga-checkins mailing list