I am running 2.0b4 and haven’t had any issues for about 3 months, while running the cfg files from /usr/local/nagios/etc. I am wanting to change where my cfg files are run, but when I use:
and comment out all of the individual cfg file entries in my nagios.cfg file, pre-flight fails. It fails on the resource.cfg file on the line:
When I comment out the cfg_dir and uncomment the individual cfg file entries in the nagios.cfg, I don’t receive any errors during preflight.
I have resources in 7 different states that I am trying to monitor and I want to make seperate cfg_dirs for each location. I’m open to suggestions on how to achieve this if what I am trying to do is not possible.
Any help is greatly appreciated.