[icinga-checkins] icinga.org: icinga2/master: Schedule pending services using the retry interval.

git at icinga.org git at icinga.org
Mon Jan 28 14:40:11 CET 2013


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

Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Mon Jan 28 13:38:18 2013 +0100

Schedule pending services using the retry interval.

---

 lib/icinga/service.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/icinga/service.cpp b/lib/icinga/service.cpp
index c3cd18c..56c4d0e 100644
--- a/lib/icinga/service.cpp
+++ b/lib/icinga/service.cpp
@@ -338,7 +338,7 @@ ServiceStateType Service::GetStateType(void) const
 	Value value = Get("state_type");
 
 	if (value.IsEmpty())
-		return StateTypeHard;
+		return StateTypeSoft;
 
 	int ivalue = static_cast<int>(value);
 	return static_cast<ServiceStateType>(ivalue);





More information about the icinga-checkins mailing list