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

Tal Bar-Or tbaror at gmail.com
Mon Nov 23 21:29:03 CET 2015


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 <Gunnar.Beutner at netways.de>
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
> 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" <
> icinga-users-bounces at lists.icinga.org on behalf of 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
> >
> >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 | Gunnar.Beutner at netways.de
>
> ** OSMC 2015 - November - netways.de/osmc **
> ** OSDC 2016 - April – netways.de/osdc **
> _______________________________________________
> icinga-users mailing list
> icinga-users at lists.icinga.org
> https://lists.icinga.org/mailman/listinfo/icinga-users
>



-- 
Tal Bar-or
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.icinga.org/pipermail/icinga-users/attachments/20151123/655b7b03/attachment-0001.html>


More information about the icinga-users mailing list