]> granicus.if.org Git - icinga2/commitdiff
service: register attribute last_hard_state
authorMichael Friedrich <michael.friedrich@netways.de>
Fri, 5 Jul 2013 12:05:49 +0000 (14:05 +0200)
committerMichael Friedrich <michael.friedrich@netways.de>
Fri, 5 Jul 2013 12:05:49 +0000 (14:05 +0200)
lib/icinga/service.cpp

index fb5577e37e2864b6df29d6c078b3ecdd9fd94eca..f1ca51892d1104aa57d126478d1514c57c4396fd 100644 (file)
@@ -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);