Recommend path to store conf files?

From the start (2.8.0) I’ve been using /etc/icinga2/conf.d but it turns more and more to a bad idea in my opinion. E.g. the installers complains about changed files, or owership changes from 2.11 as mentioned here. Or the change of the default behaviour to not include this directory.

So what is the recommend path or where do you prefer to store the conf files?
/etc/
/etc/icinga2/
/opt/
/usr/local/

i would place it under /etc/icinga2/zones.d/master and /etc/icinga2/zones.d/global-templates, even if you don’t need a distibuted monitoring yet.

Read more about it here:
https://icinga.com/docs/icinga2/latest/doc/06-distributed-monitoring/

So you don’t need to change things later.

1 Like

Thanks for your answer. In general I’d agree, however, I create DEB packages which are deployed at master and satellites (as they also contain check plugins). Hence, I don’t need or even don’t prefer distribution.