[icinga-users] Icinga2 API query all host service last value

Markus Joosten 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:

Hello All,

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=*!*' 
Please advice

Tal Bar-or


icinga-users mailing list

icinga-users at lists.icinga.org <mailto:icinga-users at lists.icinga.org> 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.icinga.org/pipermail/icinga-users/attachments/20151122/0f415b0b/attachment.html>

More information about the icinga-users mailing list