mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-27 07:34:15 +02:00
RedisWriter: add icinga:state:stream:*#previous_hard_state
This commit is contained in:
parent
746a48e2ca
commit
badcb5662c
@ -1638,6 +1638,7 @@ Dictionary::Ptr RedisWriter::SerializeState(const Checkable::Ptr& checkable)
|
|||||||
attrs->Set("severity", host->GetSeverity());
|
attrs->Set("severity", host->GetSeverity());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
attrs->Set("previous_hard_state", Convert::ToString(GetPreviousHardState(checkable, service)));
|
||||||
attrs->Set("check_attempt", checkable->GetCheckAttempt());
|
attrs->Set("check_attempt", checkable->GetCheckAttempt());
|
||||||
|
|
||||||
attrs->Set("is_active", checkable->IsActive());
|
attrs->Set("is_active", checkable->IsActive());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user