Apply Config fails - Import configs from Nagios 3.0.6
Posted: Thu Feb 17, 2011 11:53 am
Hello all,
I've followed the PDFs in the Nagios Library to both prep and import my configs from 3.0.6. This went well - no errors. However, when I go and apply the configuration I recieve the following:
Processing object config file '/usr/local/nagios/etc/services/rw3-2.meq.corenap.com.cfg'...
Error: Template '' specified in contact definition could not be not found (config file '/usr/local/nagios/etc/contacts.cfg', starting on line 148)
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.
So I checked my config files - Line 148 is the EOF for contacts.cfg and rw3-2.meq.corenap.com has a nice big warning not to edit by hand. I've removed the contacts.cfg file and tried to re-apply the config - but this file gets regenerated!?!
Any help here would be greatly appreciated. I'm down to 40 days on the demo and am trying to get all our servers/services working well as a proof of concept to get funding to purchase XI for our datacenter. Please advise - Thanks in advance!
Cheers,
-Shane
I've followed the PDFs in the Nagios Library to both prep and import my configs from 3.0.6. This went well - no errors. However, when I go and apply the configuration I recieve the following:
Processing object config file '/usr/local/nagios/etc/services/rw3-2.meq.corenap.com.cfg'...
Error: Template '' specified in contact definition could not be not found (config file '/usr/local/nagios/etc/contacts.cfg', starting on line 148)
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.
So I checked my config files - Line 148 is the EOF for contacts.cfg and rw3-2.meq.corenap.com has a nice big warning not to edit by hand. I've removed the contacts.cfg file and tried to re-apply the config - but this file gets regenerated!?!
Any help here would be greatly appreciated. I'm down to 40 days on the demo and am trying to get all our servers/services working well as a proof of concept to get funding to purchase XI for our datacenter. Please advise - Thanks in advance!
Cheers,
-Shane