Getting errors after applying config updates
Posted: Wed May 01, 2019 11:54 am
Recently when we try to apply configuration updates we get the following.
Error: Could not find any host matching 'appp1426.ama-assn.org' (config file '/usr/local/nagios/etc/hostgroups.cfg', starting on line 239)
Error: Could not find a service matching host name 'appp1426.ama-assn.org' and description 'Yum Updates' (config file '/usr/local/nagios/etc/servicegroups.cfg', starting on line 631)
Error: Could not find a service matching host name 'rdbp1184.ama-assn.org' and description 'Check DB2 Connection to PROD PRDBCC' (config file '/usr/local/nagios/etc/servicegroups.cfg', starting on line 553)
Error: Could not find a service matching host name 'prds04' and description 'check_informix_pov_prod' (config file '/usr/local/nagios/etc/servicegroups.cfg', starting on line 315)
Error: Service description missing from list 'embers' (config file '/usr/local/nagios/etc/servicegroups.cfg', starting at line 226)
Error: Could not expand members specified in servicegroup 'db2_testing' (config file '/usr/local/nagios/etc/servicegroups.cfg', starting at line 226)
The items listed do not exist within Nagios. so don't know why they are showing up. Also, this is what shows for "Show config changes"
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: Could not find any host matching 'appp1426.ama-assn.org' (config file '/usr/local/nagios/etc/hostgroups.cfg', starting on line 239)
Error: Could not find a service matching host name 'appp1426.ama-assn.org' and description 'Yum Updates' (config file '/usr/local/nagios/etc/servicegroups.cfg', starting on line 631)
Error: Could not find a service matching host name 'rdbp1184.ama-assn.org' and description 'Check DB2 Connection to PROD PRDBCC' (config file '/usr/local/nagios/etc/servicegroups.cfg', starting on line 553)
Error: Could not find a service matching host name 'prds04' and description 'check_informix_pov_prod' (config file '/usr/local/nagios/etc/servicegroups.cfg', starting on line 315)
Error: Service description missing from list 'embers' (config file '/usr/local/nagios/etc/servicegroups.cfg', starting at line 226)
Error: Could not expand members specified in servicegroup 'db2_testing' (config file '/usr/local/nagios/etc/servicegroups.cfg', starting at line 226)
The items listed do not exist within Nagios. so don't know why they are showing up. Also, this is what shows for "Show config changes"
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!