Here is what i have, I want to monitor multiple switches so i decided to use the folder commands within nagios
*# You can also tell Nagios to process all config files (with a .cfg
extension) in a particular directory by using the cfg_dir
directive as shown below:
Now i have switches enabled and i have 1 cfg file within the directory (switches.cfg) and it works great but when i add another cfg file (switches2.cfg) nagios tanks out on me. Once i delete or move the second file everything is ok again and nagios starts up without issue. I thought the whole concept of this was so you can have multiple cfg files in one directory? or am i doing something wrong?
Thank in advance!