Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
[dev.icinga.com #12464] API: events for DowntimeTriggered does not provide needed information #4504
This issue has been migrated from Redmine: https://dev.icinga.com/issues/12464
Created by dgoetz on 2016-08-17 11:57:28 +00:00
When I connect to the event stream the API provides for the Downtime there are three different types, but they do not exactly provide the information needed. I would like to get information about Downtimes starting and ending with the corresponding host/service.
DowntimeTriggered provides the following information:
If this would provide information on which host/service it was triggered, I would have the the starting information.
DowntimeAdded and DowntimeRemoved provides the following information:
So DowntimeRemoved provides the information about ending downtimes because it will always trigger a remove event afterwards, but also if it is removed by other events.
So my preference would be adding the additional information to DowntimeTriggered and trigger an event during start and end of a downtime. This would allow to simply connect to one type and get all required information.
2016-08-17 14:57:22 +00:00 by mfriedrich e5566a6
Updated by mfriedrich on 2016-08-17 14:57:15 +00:00