I need to move Nagios 2 to a new server installation nagios 3.
The server where nagios is install now needs to go away.
I made a huge mistake by pasting the config files from the nagios 2 insattlation in the nagios 3 installation.
I am getting this:
Error: Unexpected token or statement in file '/etc/nagios3/conf.d/cmpny.cfg' on line 2.
Error processing object config files!
***> One or more problems was encountered while processing the config files...
Check your configuration file(s) to ensure that they contain valid
directives and data defintions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.
* errors in config!
It does not like any of the config files.
The config files are a copy from the old server... ( I know a big mistake)
What will be the best plan of action for me. Reinstall Nagios 3?
We have Ubuntu server 14 by the way.