1/* 2 * Endpoint and Zone configuration for a cluster setup 3 * This local example requires `NodeName` defined in 4 * constants.conf. 5 */ 6 7object Endpoint NodeName { 8 host = NodeName 9} 10 11object Zone ZoneName { 12 endpoints = [ NodeName ] 13} 14 15/* 16 * Defines a global zone for distributed setups with masters, 17 * satellites and clients. 18 * This is required to sync configuration commands, 19 * templates, apply rules, etc. to satellite and clients. 20 * All nodes require the same configuration and must 21 * have `accept_config` enabled in the `api` feature. 22 */ 23 24object Zone "global-templates" { 25 global = true 26} 27 28/* 29 * Defines a global zone for the Icinga Director. 30 * This is required to sync configuration commands, 31 * templates, apply rules, etc. to satellite and clients. 32 * All nodes require the same configuration and must 33 * have `accept_config` enabled in the `api` feature. 34 */ 35 36object Zone "director-global" { 37 global = true 38} 39 40/* 41 * Read the documentation on how to configure 42 * a cluster setup with multiple zones. 43 */ 44 45/* 46object Endpoint "master.example.org" { 47 host = "master.example.org" 48} 49 50object Endpoint "satellite.example.org" { 51 host = "satellite.example.org" 52} 53 54object Zone "master" { 55 endpoints = [ "master.example.org" ] 56} 57 58object Zone "satellite" { 59 parent = "master" 60 endpoints = [ "satellite.example.org" ] 61} 62*/ 63 64