Am 13.08.2015 um 22:08 schrieb Martin Stiborský: Hello, I wanted to ask about the "zone" attribute of host object, for example. This attribute is not a host object specific, you can set it also for other objects, but that doesn't matter now…
What the attribute is for? What it does? First I thought it's an equivalent of putting a host definition into a zones.d/zone/file.conf. I thought I can keep the configuration somewhere in objects.d for example, but with the "zone" attribute, it means it will be synced to the zone. Nope, doesn't work this way, I've tried…many hours of finging out what's wrong, why the synchronization doesn't work, I've practiced SSL stuff very well :) I got on the wrong path, because I'm using the chef-icinga2 cookbook and there seem to be no way how to put the config files to zones.d directory, the cookbook doesn't support it, or I don't know how to do it. Can you explain the zone attribute for me, please? The configuration sync takes configuration inside /etc/icinga2/zones.d into account, and sets that object attribute automatically on config compilation. If you're planning to use a different distribution mechanism (for example puppet or ansible), this attribute can be set manually, but it won't affect the cluster config sync at all. Kind regards, Michael Thanks! _______________________________________________ icinga-users mailing list [email protected]<mailto:[email protected]> https://lists.icinga.org/mailman/listinfo/icinga-users -- Michael Friedrich, DI (FH) Application 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 | [email protected] ** OSBConf 2015 - September - osbconf.org ** ** OSMC 2015 - November - netways.de/osmc **
_______________________________________________ icinga-users mailing list [email protected] https://lists.icinga.org/mailman/listinfo/icinga-users
