Thanks, I failed to see that.

PS: Sorry for the forgetting the subject on the message. I didn't notice
until it was too late.


--
Marcelus Trojahn

On Tue, Oct 4, 2016 at 8:01 PM, Barry Quiel <[email protected]> wrote:

> For an initial query to sync up just query the objects tree.  The objects
> include the state.  If you wanted to have a smaller query assume that all
> objects are OK/UP and do a filtered query for all non-ok states.
>
>
> On 10/4/2016 7:47 AM, Marcelus Trojahn wrote:
>
> 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 
> [email protected]https://lists.icinga.org/mailman/listinfo/icinga-users
>
>
>
> _______________________________________________
> icinga-users mailing list
> [email protected]
> https://lists.icinga.org/mailman/listinfo/icinga-users
>
>
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to