Error at Nagios


Hi !

I’m trying to configure nagios, but when I use the command to see if it has erros at the Nagios’configuration, it show this:

unexpected token or statement in file ‘/usr/local/nagios/etc/cgi.cfg’ on line 15

and this line is: main_config_file=/usr/local/nagios/etc/nagios.cfg

In my opinion Nagios is not recognize the cgi.cfg file.

Someone have any idea of how can I fix this error



Please don’t double post and no, I’m not answering your question twice.