NagiosXI does not save changes
Posted: Mon Nov 10, 2014 9:41 am
I moved to a new server nagiosxi. Upgrade to Nagios XI 2014R1.5 NagiosXI and Nagios Core to 4.0.8. Modify some entries in the host or service, no matter where, anywhere. Then do this after changing - Apply Configuration - and get this result:
-
Applying Configuration
-
Command submitted for processing....... green icon
Waiting for configuration verification....... red icon
Configuration verification failed........ red icon
-
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.
-
View a snapshot of this configuration error
-
Write host configurations ...
Host configuration files successfully written!
Write service configurations ...
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!
Error: Invalid max_check_attempts value for host 'coswitch'
Error: Could not register host (config file '/usr/local/nagios/etc/hosts/coswitch.cfg', starting on line 16)
---
coswitch.cfg file in the specified path does not exist in the system. Tries to create a file with that name means nagios, it is removed, but this is a mistake.
Please help fix this error, because it is necessary to introduce new hosts and change the old hosts and services, but nothing is saved. All the changes is a mistake on this file coswitch.cfg.
Best Regards,
Valery
-
Applying Configuration
-
Command submitted for processing....... green icon
Waiting for configuration verification....... red icon
Configuration verification failed........ red icon
-
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.
-
View a snapshot of this configuration error
-
Write host configurations ...
Host configuration files successfully written!
Write service configurations ...
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!
Error: Invalid max_check_attempts value for host 'coswitch'
Error: Could not register host (config file '/usr/local/nagios/etc/hosts/coswitch.cfg', starting on line 16)
---
coswitch.cfg file in the specified path does not exist in the system. Tries to create a file with that name means nagios, it is removed, but this is a mistake.
Please help fix this error, because it is necessary to introduce new hosts and change the old hosts and services, but nothing is saved. All the changes is a mistake on this file coswitch.cfg.
Best Regards,
Valery