[icinga-checkins] icinga.org: icinga2/master: service: register attribute last_hard_state

git at icinga.org git at icinga.org
Fri Jul 5 15:50:45 CEST 2013


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

Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Fri Jul  5 14:05:49 2013 +0200

service: register attribute last_hard_state

---

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

diff --git a/lib/icinga/service.cpp b/lib/icinga/service.cpp
index fb5577e..f1ca518 100644
--- a/lib/icinga/service.cpp
+++ b/lib/icinga/service.cpp
@@ -65,6 +65,7 @@ Service::Service(const Dictionary::Ptr& serializedObject)
 	RegisterAttribute("state", Attribute_Replicated, &m_State);
 	RegisterAttribute("state_type", Attribute_Replicated, &m_StateType);
 	RegisterAttribute("last_state", Attribute_Replicated, &m_LastState);
+	RegisterAttribute("last_hard_state", Attribute_Replicated, &m_LastHardState);
 	RegisterAttribute("last_state_type", Attribute_Replicated, &m_LastStateType);
 	RegisterAttribute("last_reachable", Attribute_Replicated, &m_LastReachable);
 	RegisterAttribute("last_result", Attribute_Replicated, &m_LastResult);





More information about the icinga-checkins mailing list