[icinga-users] Question about icinga2 api dynamically added hosts and hostgroups

Michael Friedrich Michael.Friedrich at netways.de
Wed Nov 11 12:33:23 CET 2015


> On 11 Nov 2015, at 08:35, Gunnar Beutner <Gunnar.Beutner at netways.de> wrote:
>
>
>
>> To add host :
>> curl -k -s -u icingaadmin:icinga 'https://localhost:5665/v1/objects/hosts/ <https://localhost:5665/v1/objects/hosts/8.8.8.8>testhost' -X PUT -d '{ "templates": [ "generic-host" ], "attrs": { "address": "8.8.8.8" , "groups" : [
>> "testgrp" ]} }'
>> It gets successfully added  and I am also able to  query them through the api .
>> But in UI , I am seeing only the host and no hostgroup .
>
> Can you create a ticket for this problem please?

We’ve analysed and fixed the problem in git master.

https://dev.icinga.org/issues/10604

Cheers,
Michael


-- 
Michael Friedrich, DI (FH)
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 | Michael.Friedrich at netways.de

** OSMC 2015 - November - netways.de/osmc **
** OSDC 2016 - April – netways.de/osdc **


More information about the icinga-users mailing list