Upgrade to 2014 fails

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
PF-JH
Posts: 1
Joined: Fri Nov 09, 2012 3:50 pm

Upgrade to 2014 fails

Post by PF-JH »

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.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Upgrade to 2014 fails

Post by slansing »

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.
Locked