mirror of https://github.com/Icinga/icinga2.git
IcingaDB: avoid duplicates in icinga:history:stream:downtime
This commit is contained in:
parent
d81c15ca2f
commit
592872a6c3
|
@ -70,9 +70,7 @@ void IcingaDB::ConfigStaticInitialize()
|
||||||
IcingaDB::VersionChangedHandler(object);
|
IcingaDB::VersionChangedHandler(object);
|
||||||
});
|
});
|
||||||
|
|
||||||
/* fixed downtime start */
|
/* downtime start */
|
||||||
Downtime::OnDowntimeStarted.connect(&IcingaDB::DowntimeStartedHandler);
|
|
||||||
/* flexible downtime start */
|
|
||||||
Downtime::OnDowntimeTriggered.connect(&IcingaDB::DowntimeStartedHandler);
|
Downtime::OnDowntimeTriggered.connect(&IcingaDB::DowntimeStartedHandler);
|
||||||
/* fixed/flexible downtime end or remove */
|
/* fixed/flexible downtime end or remove */
|
||||||
Downtime::OnDowntimeRemoved.connect(&IcingaDB::DowntimeRemovedHandler);
|
Downtime::OnDowntimeRemoved.connect(&IcingaDB::DowntimeRemovedHandler);
|
||||||
|
|
Loading…
Reference in New Issue