Could not expand services specified in service escalataions
Posted: Fri Jan 23, 2015 1:10 am
Hi,
I've recently updated to Nagios XI V2014 R2.3 and since updating I can no longer apply configuration. The error reported in post flight checks is as below:
Error: Could not find a service matching host name 'X' and description 'MSSQL Query - XYZ' (config file '/usr/local/nagios/etc/serviceescalations.cfg', starting on line 14)
Error: Could not expand services specified in service escalation (config file '/usr/local/nagios/etc/serviceescalations.cfg', starting on line 14)
I took a look at "serviceescalations.cfg" and there is currently nothing in here.
###############################################################################
#
# Service escalations configuration file
#
# Created by: Nagios Core Config Manager 2.3.0
# Date: 2015-01-23 16:58:52
# Version: Nagios 3.x config file
#
# --- DO NOT EDIT THIS FILE BY HAND ---
# Nagios CCM will overwrite all manual settings during the next update if you
# would like to edit files manually, place them in the 'static' directory or
# import your configs into the CCM by placing them in the 'import' directory.
#
###############################################################################
###############################################################################
#
# Service escalations configuration file
#
# END OF FILE
#
###############################################################################
Permissions on the file appear to be ok:
[root@aunagiosxi ~]# ls -l /usr/local/nagios/etc/ser*.cfg
-rw-r--r-- 1 apache nagios 823 Jan 23 16:58 /usr/local/nagios/etc/servicedependencies.cfg
-rw-r--r-- 1 apache nagios 825 Jan 23 16:58 /usr/local/nagios/etc/serviceescalations.cfg
-rw-r--r-- 1 apache nagios 843 Jan 23 16:58 /usr/local/nagios/etc/serviceextinfo.cfg
-rw-r--r-- 1 apache nagios 3208 Jan 23 16:58 /usr/local/nagios/etc/servicegroups.cfg
-rw-r--r-- 1 apache nagios 16143 Jan 23 16:58 /usr/local/nagios/etc/servicetemplates.cfg
What's also confusing me is that I removed the config for host 'X' a while ago and 'MSSQL Query - XYZ' was never attributed to this host. So I can't understand why the service escalation is complaining about this? I checked all of my service escalations and the host does not exist in here. I've also tried using other peoples forums posts to assist but I can't seem to resolve the issue.
Can you please provide any advice on how I can fix this issue and apply my new configuration?
I've recently updated to Nagios XI V2014 R2.3 and since updating I can no longer apply configuration. The error reported in post flight checks is as below:
Error: Could not find a service matching host name 'X' and description 'MSSQL Query - XYZ' (config file '/usr/local/nagios/etc/serviceescalations.cfg', starting on line 14)
Error: Could not expand services specified in service escalation (config file '/usr/local/nagios/etc/serviceescalations.cfg', starting on line 14)
I took a look at "serviceescalations.cfg" and there is currently nothing in here.
###############################################################################
#
# Service escalations configuration file
#
# Created by: Nagios Core Config Manager 2.3.0
# Date: 2015-01-23 16:58:52
# Version: Nagios 3.x config file
#
# --- DO NOT EDIT THIS FILE BY HAND ---
# Nagios CCM will overwrite all manual settings during the next update if you
# would like to edit files manually, place them in the 'static' directory or
# import your configs into the CCM by placing them in the 'import' directory.
#
###############################################################################
###############################################################################
#
# Service escalations configuration file
#
# END OF FILE
#
###############################################################################
Permissions on the file appear to be ok:
[root@aunagiosxi ~]# ls -l /usr/local/nagios/etc/ser*.cfg
-rw-r--r-- 1 apache nagios 823 Jan 23 16:58 /usr/local/nagios/etc/servicedependencies.cfg
-rw-r--r-- 1 apache nagios 825 Jan 23 16:58 /usr/local/nagios/etc/serviceescalations.cfg
-rw-r--r-- 1 apache nagios 843 Jan 23 16:58 /usr/local/nagios/etc/serviceextinfo.cfg
-rw-r--r-- 1 apache nagios 3208 Jan 23 16:58 /usr/local/nagios/etc/servicegroups.cfg
-rw-r--r-- 1 apache nagios 16143 Jan 23 16:58 /usr/local/nagios/etc/servicetemplates.cfg
What's also confusing me is that I removed the config for host 'X' a while ago and 'MSSQL Query - XYZ' was never attributed to this host. So I can't understand why the service escalation is complaining about this? I checked all of my service escalations and the host does not exist in here. I've also tried using other peoples forums posts to assist but I can't seem to resolve the issue.
Can you please provide any advice on how I can fix this issue and apply my new configuration?