RedisWriter: add icinga:state:stream:*#previous_hard_state

This commit is contained in:
Alexander Aleksandrovič Klimov 2019-10-29 16:20:16 +01:00 committed by Michael Friedrich
parent 746a48e2ca
commit badcb5662c
1 changed files with 1 additions and 0 deletions

View File

@ -1638,6 +1638,7 @@ Dictionary::Ptr RedisWriter::SerializeState(const Checkable::Ptr& checkable)
attrs->Set("severity", host->GetSeverity());
}
attrs->Set("previous_hard_state", Convert::ToString(GetPreviousHardState(checkable, service)));
attrs->Set("check_attempt", checkable->GetCheckAttempt());
attrs->Set("is_active", checkable->IsActive());