Upgrading from 2012R7, and am getting the following error:
Running configuration check... CONFIG ERROR! Restart aborted. Check your Nagios configuration.
Config check shows the following:
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 135)
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)
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 117)
Error: Service has no hosts and/or service_description (config file '/usr/local/nagios/etc/services/check_nrpe_version.cfg', starting on line 14)
Error processing object config files!
This was working fine before the upgrade attempt, and now the monitoring service won't start.
Upgrade to 2014 fails
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Upgrade to 2014 fails
Looks like the new additions to the verification process must have found an old ghost host/service.
Do you actually have a host, or service description on the first config line in:
/usr/local/nagios/etc/services/check_nrpe_version.cfg
This service may have been removed from the database previously, but got caught in it's flat config file and may simply need to be removed manually.
Do you actually have a host, or service description on the first config line in:
/usr/local/nagios/etc/services/check_nrpe_version.cfg
This service may have been removed from the database previously, but got caught in it's flat config file and may simply need to be removed manually.