Hi Alex, 

Ok - just to get it right for my brain ;) - I am using the example from the 
docs how to configure distributed zones
## Original example:
object Endpoint "nuremberg-master" {
  host = "nuremberg.icinga.org"
}

object Endpoint "berlin-satellite" {
  host = "berlin.icinga.org"
}

object Endpoint "vienna-satellite" {
  host = "vienna.icinga.org"
}



## Would look like this in my case:
object Endpoint "nuremberg-master" {
  host = "nuremberg.icinga.org"
}

object Endpoint "berlin-satellite" {
 }

object Endpoint "vienna-satellite" {
}



## And the zones would stay the same?
object Zone "nuremberg" {
  endpoints = [ "nuremberg-master" ]
}

object Zone "berlin" {
  endpoints = [ "berlin-satellite" ]
  parent = "nuremberg"
}

object Zone "vienna" {
  endpoints = [ "vienna-satellite" ]
  parent = "nuremberg"
}

object Zone "global-templates" {
  global = true
}

Right?

Thanks a lot in advance
Sven

-----Ursprüngliche Nachricht-----
Von: icinga-users [mailto:[email protected]] Im Auftrag von 
Alexander Wirt
Gesendet: Montag, 21. März 2016 14:30
An: Icinga User's Corner
Betreff: Re: [icinga-users] Icinga2 master/sattelite communication direction?

On Mon, 21 Mar 2016, Bauknecht, Sven wrote:

> This sounds great! - is there any detail in the docs I oviously missed/did 
> not find yet?
If an endpoint objects has assigned a host attribute [1] icinga2 will try to 
connect to it. If there is no host attribute, no connection is attempted. 

If both sides of a connection have host attributes, the other side will stop to 
try to connect as soon as the is a successful connection initiated. 

Alex

http://docs.icinga.org/icinga2/latest/doc/module/icinga2/toc#!/icinga2/latest/doc/module/icinga2/chapter/object-types#objecttype-endpoint

_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to