mirror of https://github.com/Icinga/icinga2.git
Fix that state does not get synced on acknowledgement removal
This commit is contained in:
parent
992727707d
commit
3439ea755f
|
@ -53,6 +53,8 @@ void RedisWriter::ConfigStaticInitialize()
|
|||
{
|
||||
/* triggered in ProcessCheckResult(), requires UpdateNextCheck() to be called before */
|
||||
Checkable::OnStateChange.connect(std::bind(&RedisWriter::StateChangeHandler, _1));
|
||||
/* triggered when acknowledged host/service goes back to ok and when the acknowledgement gets deleted */
|
||||
Checkable::OnAcknowledgementCleared.connect(std::bind(&RedisWriter::StateChangeHandler, _1));
|
||||
|
||||
/* triggered on create, update and delete objects */
|
||||
ConfigObject::OnActiveChanged.connect(std::bind(&RedisWriter::VersionChangedHandler, _1));
|
||||
|
|
Loading…
Reference in New Issue