Starting nagios:CONFIG ERROR! Start aborted. Check your Nagios configuration.
I am trying to monitor router/switch but every time I open the nagios.cfg file and remove the # of this line cfg_file=/usr/local/nagios/etc/switch.cfg to start monitoring router/switch I receive the above error message. If I reinstalled the packages and plugins will be able to monitor the host where nagios resides but will not allow me to touch the nagios.cfg to monitor router/switch. Once I open the that file I receive the above error message. Any idea what's causing this to happen?