Thanks for testing and confirming, Stephan. I'll open a bug for this. On Wed, Mar 9, 2016 at 10:46 PM, Stephan Tesch <[email protected]> wrote:
> Am 09.03.2016 um 21:30 schrieb Claudio Kuenzler: > > Hi Claudio, > > you are right, I just moved a subfolder of conf.d to another location, > symlinked it and after the reload all hosts below that level were gone. > > I'm running 2.4.3 on a current Centos 7. > > I also disabled SElinux, but that did not change anything... Weird. > > Best regards, > Stephan > > Thanks Stephan, > > I also tested it on "normal" config files, not within zones with the same > result. > Interestingly symlinks to a file works while a symlink to a folder didn't. > > Did you also try it with subfolders? conf.d is a folder directly mentioned > in icinga2.conf. > > Which Icinga version are you running? Mine is 2.4.1. > > On Wed, Mar 9, 2016 at 8:15 PM, Stephan Tesch <[email protected]> wrote: > >> Am 09.03.2016 um 17:04 schrieb Claudio Kuenzler: >> >> Hi Claudio, >> >> I cannot confirm that this is a problem. At least with a quick testdrive: >> >> # ls -l /etc/icinga2/ >> insgesamt 28 >> lrwxrwxrwx. 1 root root 11 9. Mär 19:10 conf.d -> /etc/conf.d >> >> Icinga starts up just fine and parses the contents of /etc/icinga2/conf.d >> which actually resides in /etc/conf.d >> >> This is on a Centos 7 installation if that helps. Since I have no zones >> configured, I can't really test that part. >> >> Hope this helps, >> Stephan >> >> I tried to use a symbolic link as a folder for externally stored config >> files but it seems Icinga 2 does not consider to follow the symlink. >> >> This is what my setup looks like: >> >> /etc/icinga2/zones.d/zone-1/hosts/ : Normal directory, containing config >> files >> /etc/icinga2/zones.d/zone-1/i2ac : Symlink pointing to /etc/i2ac/zone-1 >> /etc/i2ac/zone-1/: Normal directory, containing config files >> >> Can anyone confirm or have I missed a setting/switch somewhere? >> >> thanks >> >> >> _______________________________________________ >> icinga-users mailing >> [email protected]https://lists.icinga.org/mailman/listinfo/icinga-users >> >> >> >> _______________________________________________ >> icinga-users mailing list >> [email protected] >> https://lists.icinga.org/mailman/listinfo/icinga-users >> >> > > > _______________________________________________ > icinga-users mailing > [email protected]https://lists.icinga.org/mailman/listinfo/icinga-users > > > > _______________________________________________ > icinga-users mailing list > [email protected] > https://lists.icinga.org/mailman/listinfo/icinga-users > >
_______________________________________________ icinga-users mailing list [email protected] https://lists.icinga.org/mailman/listinfo/icinga-users
