From: Michael Friedrich Date: Fri, 5 Jul 2013 12:05:49 +0000 (+0200) Subject: service: register attribute last_hard_state X-Git-Tag: v0.0.3~883 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=337b7810883a847b8119e6f1092e4fd51615762b;p=icinga2 service: register attribute last_hard_state --- diff --git a/lib/icinga/service.cpp b/lib/icinga/service.cpp index fb5577e37..f1ca51892 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);