[icinga-users] Icinga2 API query all host service last value
markus.joosten at plumbe.de
Sun Nov 22 19:19:01 CET 2015
Not having tried anything like this, but I assume as of now you would have to iterate over all hosts, and query each service for that..
Sure would mean a lot of queries..
Sent from my iPhone
On 22 Nov 2015, at 18:23, Tal Bar-Or <tbaror at gmail.com <mailto:tbaror at gmail.com> > wrote:
I need help with query building ,for getting all hosts services last value , for example
instead for curl -k -s -u root:icinga 'https://localhost:5665/v1/objects/services?service=machinename!ping4'
kind of *
curl -k -s -u root:icinga 'https://localhost:5665/v1/objects/services?service=*!*'
icinga-users mailing list
icinga-users at lists.icinga.org <mailto:icinga-users at lists.icinga.org>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the icinga-users