> On 30 Mar 2016, at 12:36, Christian Moreno Moreno 
> <christian.mor...@idealo.de> wrote:
>
> Hi,
>
> We have 2 Zones with 3 Endpoints in our icinga2:
>
> object Endpoint "icinga-01" {
>   host = "xxxx"
>   port = 5665
> }
>
> object Endpoint "icinga-02" {
>   host = "xxxx"
>   port = 5665
> }
>
> object Endpoint "icinga-03" {
>   host = "xxx"
>   port = 5665
> }
>
> object Zone "master" {
> endpoints = ["icinga-01.ipx","icinga-02.ipx"]
> }
>
>
> object Zone "Development" {
> endpoints = [ "icinga-03.ipx" ]
> parent = "master"
> }
>
>
> Until we now have one icingaweb2 (icingaweb-01) for the complet structure, 
> it's install in icinga-01 (icinga-01 and icinga-02 have IDO enable)
>
> Now we would like have two differents Icingaweb2, one for the Hosts of the 
> master Zone and other for the Development Hosts, so I installed one 
> icingaweb2 (icingaweb-02) in icinga-03 and enable IDO (with one separate DB)
>
> I can see in the new icingaweb2 the hosts of the Zone_A, but in icingaweb-01 
> I can see all Hosts (inclusive of Zone_A). How can I do for see only the 
> Hosts of the master Zone in icingaweb-01?

The master zone knows about *all* objects - current zone and child zones, if 
you are defining the configuration on the master node in zones.d for example.

In terms of the Icinga Web 2 there’s a feature request to allow such zone 
filters - https://dev.icinga.org/issues/5903#note-14 (the required DB IDO 
changes are available since Icinga 2 v2.4)

Kind regards,
Michael

>
> Regards,
> Christian
>
>
> Christian Moreno Moreno
> System Engineer Offers
>
> idealo internet GmbH
> Ritterstraße 11
> 10969 Berlin, Deutschland
> Tel.: +49 (0)30 40 30 10 33
> Fax: +49 (0)30 221 94 33 - 21
> E-Mail: christian.mor...@idealo.de
> Geschäftsführer:
> Dr. Albrecht von Sonntag, Dr. Philipp-Christopher Peitsch
> HRB 76749 – Amtsgericht Berlin-Charlottenburg
>
>
>
>
>
> _______________________________________________
> icinga-users mailing list
> icinga-users@lists.icinga.org
> https://lists.icinga.org/mailman/listinfo/icinga-users


-- 
Michael Friedrich, DI (FH)
Senior Developer

NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg
Tel: +49 911 92885-0 | Fax: +49 911 92885-77
CEO: Julian Hein, Bernd Erk | AG Nuernberg HRB18461
http://www.netways.de | michael.friedr...@netways.de

** OSDC 2016 - April - netways.de/osdc **
** OSBConf 2016 - September - osbconf.org **
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to