Importing Core config files....error
Posted: Wed May 28, 2014 2:57 pm
Fresh install of ova as of today of CentOS running XI version 2014R1.0
Running Core 3.5.0 in production and working on moving to XI. Bought the licenses a while back, but haven't really had the time to focus on it. Set up a couple of dev hosts with XI on it and have begun trying to get our Core instance imported into XI. Followed all the import wiki docs and got the 'Write', 'Verify', then restart done fine( no errors at the end after I deleted the problem config files). Now I did run into errors when doing the verify and deleted config files from the : /usr/local/nagios/etc/hosts/ directory that we no longer use( they were giving me errors during the import). Is that the proper way to do it?
Anyways when I go to apply the configuration it errors out. Check the config and this is the error it gives me:
Nagios Core 4.0.5
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 04-11-2014
License: GPL
Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Warning: failure_prediction_enabled is obsoleted and no longer has any effect in host type objects (config file '/usr/local/nagios/etc/hosttemplates.cfg', starting at line 14)
Warning: failure_prediction_enabled is obsoleted and no longer has any effect in host type objects (config file '/usr/local/nagios/etc/hosttemplates.cfg', starting at line 92)
Warning: failure_prediction_enabled is obsoleted and no longer has any effect in service type objects (config file '/usr/local/nagios/etc/servicetemplates.cfg', starting at line 14)
Error: Template 'dummy-host' specified in host definition could not be not found (config file '/usr/local/nagios/etc/hosts/rtp5-1b-dci03c-gw2.cfg', starting on line 14)
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.
Ok so the config file it errored out on was one of the ones I deleted.......supposedly. I'm certain I'm leaving out a ton of info that you need, but I've been fighting with this for a couple of days and after much googling really haven't come up with an answer.
Running Core 3.5.0 in production and working on moving to XI. Bought the licenses a while back, but haven't really had the time to focus on it. Set up a couple of dev hosts with XI on it and have begun trying to get our Core instance imported into XI. Followed all the import wiki docs and got the 'Write', 'Verify', then restart done fine( no errors at the end after I deleted the problem config files). Now I did run into errors when doing the verify and deleted config files from the : /usr/local/nagios/etc/hosts/ directory that we no longer use( they were giving me errors during the import). Is that the proper way to do it?
Anyways when I go to apply the configuration it errors out. Check the config and this is the error it gives me:
Nagios Core 4.0.5
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 04-11-2014
License: GPL
Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Warning: failure_prediction_enabled is obsoleted and no longer has any effect in host type objects (config file '/usr/local/nagios/etc/hosttemplates.cfg', starting at line 14)
Warning: failure_prediction_enabled is obsoleted and no longer has any effect in host type objects (config file '/usr/local/nagios/etc/hosttemplates.cfg', starting at line 92)
Warning: failure_prediction_enabled is obsoleted and no longer has any effect in service type objects (config file '/usr/local/nagios/etc/servicetemplates.cfg', starting at line 14)
Error: Template 'dummy-host' specified in host definition could not be not found (config file '/usr/local/nagios/etc/hosts/rtp5-1b-dci03c-gw2.cfg', starting on line 14)
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.
Ok so the config file it errored out on was one of the ones I deleted.......supposedly. I'm certain I'm leaving out a ton of info that you need, but I've been fighting with this for a couple of days and after much googling really haven't come up with an answer.