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

2015-11-23 Thread Tal Bar-Or
Thanks , great , to get the right attributes i am using Icinga studio , that's helps a lot On Sun, Nov 22, 2015 at 8:26 PM, Gunnar Beutner wrote: > Just try https://localhost:5665/v1/objects/services - i.e. without any > filters. For performance reasons you’ll also want to specify the attributes

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

2015-11-22 Thread Gunnar Beutner
Just try https://localhost:5665/v1/objects/services - i.e. without any filters. For performance reasons you’ll also want to specify the attributes you’re interested in (using the ‚attrs‘ parameter). Kind regards Gunnar Beutner On 22/11/15 18:23, "icinga-users on behalf of Tal Bar-Or" wrot

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

2015-11-22 Thread Markus Joosten
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 mailto:tba...@gmail.com> > wrote: Hello All, I need help with quer

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

2015-11-22 Thread Tal Bar-Or
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?servic