mirror of https://github.com/Icinga/icinga2.git
parent
d1dc1188e1
commit
e5566a6bd8
|
@ -336,7 +336,7 @@ void ApiEvents::DowntimeTriggeredHandler(const Downtime::Ptr& downtime)
|
||||||
result->Set("type", "DowntimeTriggered");
|
result->Set("type", "DowntimeTriggered");
|
||||||
result->Set("timestamp", Utility::GetTime());
|
result->Set("timestamp", Utility::GetTime());
|
||||||
|
|
||||||
result->Set("downtime", Serialize(downtime));
|
result->Set("downtime", Serialize(downtime, FAConfig | FAState));
|
||||||
|
|
||||||
BOOST_FOREACH(const EventQueue::Ptr& queue, queues) {
|
BOOST_FOREACH(const EventQueue::Ptr& queue, queues) {
|
||||||
queue->ProcessEvent(result);
|
queue->ProcessEvent(result);
|
||||||
|
|
Loading…
Reference in New Issue