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" 
<[email protected] on behalf of [email protected]> 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
>
>Thanks
>
>
>--
>Tal Bar-or
>
>
>
>
>
>
>
>

-- 
Gunnar Beutner
Senior Developer

NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg
Tel: +49 911 92885-0 | Fax: +49 911 92885-77
GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461
http://www.netways.de | [email protected]

** OSMC 2015 - November - netways.de/osmc **
** OSDC 2016 - April – netways.de/osdc **
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to