Hello,

I've been using the stream API for /v1/events so I can update in realtime a
map of hosts. This is working as intended. However, I wonder if I can get
an initial state of the current events being displayed in Icinga, not just
the stream. The stream is useful to update the map, but I need to keep the
map opened for several minutes until it is "synchronized" with Icinga,
because it needs to wait for the hosts being re-checked so the events go to
the stream.

Is there a API that I could just extract the current problems for hosts and
services so my map initial state would the same as opening Icinga's "all
problems" view?

Thanks in advance.

--
M. Trojahn
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to