[icinga-checkins] icinga.org: icinga2/master: fix typo

git at icinga.org git at icinga.org
Mon Jul 1 17:57:23 CEST 2013


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

Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Mon Jul  1 17:56:05 2013 +0200

fix typo

---

 lib/icinga/service-check.cpp |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/lib/icinga/service-check.cpp b/lib/icinga/service-check.cpp
index 5badf75..a9701ff 100644
--- a/lib/icinga/service-check.cpp
+++ b/lib/icinga/service-check.cpp
@@ -461,12 +461,11 @@ void Service::ProcessCheckResult(const Dictionary::Ptr& cr)
 
 	olock.Unlock();
 
-	Log(LogDebug, "icinga", "Flapping: Service " +
-			GetName() + " was: " +
-			Convert::ToString(was_flapping) + " is: " +
-			Convert::ToString(was_flapping) + " threshold: " +
-			Convert::ToString(GetFlappingThreshold()) + "% current: " +
-			Convert::ToString(GetFlappingCurrent()) + "%.");
+	Log(LogDebug, "icinga", "Flapping: Service " + GetName() +
+			" was: " + Convert::ToString(was_flapping) +
+			" is: " + Convert::ToString(is_flapping) +
+			" threshold: " + Convert::ToString(GetFlappingThreshold()) +
+			"% current: " +	Convert::ToString(GetFlappingCurrent()) + "%.");
 
 	/* Flush the object so other instances see the service's
 	 * new state when they receive the CheckResult message */





More information about the icinga-checkins mailing list