Issue for unable apply configuration from nagiosxi
Posted: Wed Apr 08, 2015 1:36 am
Hi,
I hit a problem from "applying configuration" even I restore the configuration file from previous "monitoring configuration snapshots".
The action I taken can shown as below:
1. I click the restore icon and click "ok" for restore the NagiosQL database.
Date Snapshot Result File Actions
2015-04-01 12:08:14 Config Ok 1427861294.tar.gz
2. click "apply configuration" but error prompt as below
Applying Configuration
Command submitted for processing...
! Waiting for configuration verification....
! Backend login to the Core Config Manager failed.
An error occurred while attempting to apply your configuration to Nagios Core. Monitoring engine configuration files have been rolled back to their last known good checkpoint.
Below is the info. for "show config changes"
Write host configurations ...
Configuration file: EXCSCS01-Exchange.cfg successfully written!
WARNING! Ghost host config detected! Removing the file chkconf.cfg
Host configuration files successfully written!
Write service configurations ...
Configuration file: EXCSCS01-Exchange.cfg successfully written!
WARNING! Ghost service config detected! Removing the file cpsoap32.cfg.20150202.cfg
Service configuration files successfully written!
Configuration file: hostgroups.cfg successfully written!
Configuration file: servicegroups.cfg successfully written!
Configuration file: hosttemplates.cfg successfully written!
Configuration file: servicetemplates.cfg successfully written!
Configuration file: timeperiods.cfg successfully written!
Configuration file: commands.cfg successfully written!
Configuration file: contacts.cfg successfully written!
Configuration file: contactgroups.cfg successfully written!
Configuration file: contacttemplates.cfg successfully written!
Configuration file: servicedependencies.cfg successfully written!
Configuration file: hostdependencies.cfg successfully written!
Configuration file: serviceescalations.cfg successfully written!
Configuration file: hostescalations.cfg successfully written!
Configuration file: serviceextinfo.cfg successfully written!
Configuration file: hostextinfo.cfg successfully written!
Messages form "show errors"
Error: Service has no hosts and/or service_description (config file '/usr/local/nagios/etc/services/gssoap02.cfg', starting on line 260)
At this moment, we cannot add new host or service in nagiosxi. Could you have any idea for solving this problem and any idea to prevent this problem happening again?
I hit a problem from "applying configuration" even I restore the configuration file from previous "monitoring configuration snapshots".
The action I taken can shown as below:
1. I click the restore icon and click "ok" for restore the NagiosQL database.
Date Snapshot Result File Actions
2015-04-01 12:08:14 Config Ok 1427861294.tar.gz
2. click "apply configuration" but error prompt as below
Applying Configuration
Command submitted for processing...
! Waiting for configuration verification....
! Backend login to the Core Config Manager failed.
An error occurred while attempting to apply your configuration to Nagios Core. Monitoring engine configuration files have been rolled back to their last known good checkpoint.
Below is the info. for "show config changes"
Write host configurations ...
Configuration file: EXCSCS01-Exchange.cfg successfully written!
WARNING! Ghost host config detected! Removing the file chkconf.cfg
Host configuration files successfully written!
Write service configurations ...
Configuration file: EXCSCS01-Exchange.cfg successfully written!
WARNING! Ghost service config detected! Removing the file cpsoap32.cfg.20150202.cfg
Service configuration files successfully written!
Configuration file: hostgroups.cfg successfully written!
Configuration file: servicegroups.cfg successfully written!
Configuration file: hosttemplates.cfg successfully written!
Configuration file: servicetemplates.cfg successfully written!
Configuration file: timeperiods.cfg successfully written!
Configuration file: commands.cfg successfully written!
Configuration file: contacts.cfg successfully written!
Configuration file: contactgroups.cfg successfully written!
Configuration file: contacttemplates.cfg successfully written!
Configuration file: servicedependencies.cfg successfully written!
Configuration file: hostdependencies.cfg successfully written!
Configuration file: serviceescalations.cfg successfully written!
Configuration file: hostescalations.cfg successfully written!
Configuration file: serviceextinfo.cfg successfully written!
Configuration file: hostextinfo.cfg successfully written!
Messages form "show errors"
Error: Service has no hosts and/or service_description (config file '/usr/local/nagios/etc/services/gssoap02.cfg', starting on line 260)
At this moment, we cannot add new host or service in nagiosxi. Could you have any idea for solving this problem and any idea to prevent this problem happening again?