[icinga-checkins] icinga.org: icinga2/master: Reschedule check timer after each finished check.

git at icinga.org git at icinga.org
Fri Feb 8 10:40:09 CET 2013


Module: icinga2
Branch: master
Commit: 09309b3899857b3265a55dc96ed64e4a4ad45533
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=09309b3899857b3265a55dc96ed64e4a4ad45533

Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Fri Feb  8 10:39:31 2013 +0100

Reschedule check timer after each finished check.

---

 components/checker/checkercomponent.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/components/checker/checkercomponent.cpp b/components/checker/checkercomponent.cpp
index a6857d8..f8710b2 100644
--- a/components/checker/checkercomponent.cpp
+++ b/components/checker/checkercomponent.cpp
@@ -145,6 +145,8 @@ void CheckerComponent::CheckCompletedHandler(const Service::Ptr& service)
 		m_IdleServices.insert(service);
 	}
 
+	RescheduleCheckTimer();
+
 	Logger::Write(LogDebug, "checker", "Check finished for service '" + service->GetName() + "'");
 }
 





More information about the icinga-checkins mailing list