I am new to nagios. Need a little guidance…
So you have the Main file. NAGIOS.CFG
This file points to a couple of default configuration files… ie.
This is the problem I am having: As long as I add the new device in this case a switch inside the default switch.cfg file and restart nagios it is fine.
However if I try to change the location of the configuration say I create a new file within the same objects folder
I get an error message when i restart nagios.
“config error! start aborted. check your nagios configuration”
I know there is no syntax error because it work inside the default switch.cfg file. I wanted to figure out a way to organize everything before I added more device. I don’t see myself adding all the switches inside the default switch.cfg file.
I encountered the same problem if I try to organized it into folders.
I know its something minor I am performing incorrectly… Just not sure what it is…
Nagios 3.0 on centos5