A brief account of what I have done so far:
Installed and compiled Nagios 1.3 (New installation)
Installed and compiled Nagios Plugin 1.4.2 (New installation)
Problem arise when I’m doing some verifying thing: …/bin/nagios -v nagios.cfg
(Taken from onlamp.com/pub/a/onlamp/2002 … agios.html)
I will hit the below error:
Reading configuration data…
Error: Unexpected token or statement in file ‘/usr/local/nagios/etc/checkcommands.cfg’ on line 49.
***> 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 on the main and host config files, as well as the 'Whats New' section to find out what has changed.
Anyone has any ideas what went wrong? Because my nagios installation is a new setup and not an upgrade. Any assistance will be greatly appreciated.