Re: [icinga-users] make zones definition more automatic on the master

2017-01-17 Thread Antony Stone
On Tuesday 17 January 2017 at 16:03:42, Mathieu Arnold wrote: > I am wondering if there could be a way to get the zone and endpoint > generated somehow. Yes, there is. > I then tried another approach, using a for loop, something like: > > for (z in zones) { > object Endpoint z {} > object Z

[icinga-users] make zones definition more automatic on the master

2017-01-17 Thread Mathieu Arnold
Hi, I'm slowly migrating from nagios/nrpe to icinga/nrpe to icinga/master-satellite, I have one icinga "master" and all servers are in their own zone and are their own endpoints. Right now, all the satellites have the same zone.conf (NodeName and ZoneName are defined in constants.conf) --- obje