# Recommend path to store conf files?

**URL:** <https://community.icinga.com/t/recommend-path-to-store-conf-files/2526>\
**Category:** Icinga 2\
**Created:** [October 18, 2019, 6:05am UTC](https://community.icinga.com/t/recommend-path-to-store-conf-files/2526 "2019-10-18T06:05:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rsx](https://community.icinga.com/user_avatar/community.icinga.com/rsx/32/2094_2.png) [@rsx](https://community.icinga.com/u/rsx)\
**Post date:** [October 18, 2019, 6:05am UTC](https://community.icinga.com/t/recommend-path-to-store-conf-files/2526/1 "2019-10-18T06:05:17Z")

</div>

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](https://community.icinga.com/t/2-11-changes-ownership-to-files-and-folders/2525). 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/

---

<div class="post-metadata">

**Author:** ![unic](https://community.icinga.com/user_avatar/community.icinga.com/unic/32/200_2.png) [@unic](https://community.icinga.com/u/unic)\
**Post date:** [October 18, 2019, 6:12am UTC](https://community.icinga.com/t/recommend-path-to-store-conf-files/2526/2 "2019-10-18T06:12:16Z")

</div>

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/](https://icinga.com/docs/icinga2/latest/doc/06-distributed-monitoring/)

So you don’t need to change things later.

---

<div class="post-metadata">

**Author:** ![rsx](https://community.icinga.com/user_avatar/community.icinga.com/rsx/32/2094_2.png) [@rsx](https://community.icinga.com/u/rsx)\
**Post date:** [October 18, 2019, 12:22pm UTC](https://community.icinga.com/t/recommend-path-to-store-conf-files/2526/3 "2019-10-18T12:22:06Z")

</div>

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.
