I'm trying to remove a host from monitoring in my XI environment, but I'm getting related to hostescalations.cfg and serviceescalations.cfg. The errors aren't very helpful, at least to me:
Code: Select all
Error: Could not expand hostgroups and/or hosts specified in host escalation (config file '/usr/local/nagios/etc/hostescalations.cfg', starting on line 16)
Error: Service '*' on host '*' has an escalation but is not defined anywhere!
Error: Could not register service escalation (config file '/usr/local/nagios/etc/serviceescalations.cfg', starting on line 28)
Nagios Core 4.4.6
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 2020-04-28
License: GPL
Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
Warning: Duplicate definition found for service 'Symantec Management Agent [Altiris Service]' on host 'postad03.post-ad' (config file '/usr/local/nagios/etc/services/postad03.post-ad.cfg', starting on line 187)
Warning: Duplicate definition found for service 'Symantec Endpoint Protection [SEP Service]' on host 'postad03.post-ad' (config file '/usr/local/nagios/etc/services/postad03.post-ad.cfg', starting on line 155)
Warning: Duplicate definition found for service 'Ping' on host 'NHDDC02.NHD.STATE.NV.US' (config file '/usr/local/nagios/etc/services/NHDDC02.NHD.STATE.NV.US.cfg', starting on line 124)
Warning: Duplicate definition found for service 'Symantec Management Agent [Altiris Service]' on host 'ent-sdcs' (config file '/usr/local/nagios/etc/services/ent-sdcs.cfg', starting on line 164)
Warning: Duplicate definition found for service 'Symantec Endpoint Protection [SEP Service]' on host 'ent-sdcs' (config file '/usr/local/nagios/etc/services/ent-sdcs.cfg', starting on line 132)
Warning: Duplicate definition found for service 'Ping' on host 'dmvaddc02.dmvad' (config file '/usr/local/nagios/etc/services/dmvaddc02.dmvad.cfg', starting on line 129)
Warning: Duplicate definition found for service 'Ping' on host 'ENTDC03' (config file '/usr/local/nagios/etc/services/ENTDC03.cfg', starting on line 160)
Warning: Duplicate definition found for service 'Ping' on host 'DoBIVM.DOBI' (config file '/usr/local/nagios/etc/services/DoBIVM.DOBI.cfg', starting on line 64)
Warning: Duplicate definition found for service 'Free Space on C Drive' on host 'DoBIVM.DOBI' (config file '/usr/local/nagios/etc/services/DoBIVM.DOBI.cfg', starting on line 32)
Warning: Duplicate definition found for service 'Symantec Management Agent [Altiris Service]' on host 'POSTDC01.post-ad' (config file '/usr/local/nagios/etc/services/POSTDC01.post-ad.cfg', starting on line 187)
Warning: Duplicate definition found for service 'Symantec Endpoint Protection [SEP Service]' on host 'POSTDC01.post-ad' (config file '/usr/local/nagios/etc/services/POSTDC01.post-ad.cfg', starting on line 155)
Warning: Duplicate definition found for service 'Ping' on host 'ndadc01.nda.state.nv.us' (config file '/usr/local/nagios/etc/services/ndadc01.nda.state.nv.us.cfg', starting on line 129)
Warning: Duplicate definition found for service 'Ping' on host 'nhddc01.nhd.state.nv.us' (config file '/usr/local/nagios/etc/services/nhddc01.nhd.state.nv.us.cfg', starting on line 124)
Warning: Duplicate definition found for service 'Ping' on host 'petra' (config file '/usr/local/nagios/etc/services/petra.cfg', starting on line 241)
Warning: Duplicate definition found for service 'Disk Check /u01/dbs' on host 'sage' (config file '/usr/local/nagios/etc/services/sage.cfg', starting on line 136)
Warning: Duplicate definition found for service 'Disk Check /' on host 'sage' (config file '/usr/local/nagios/etc/services/sage.cfg', starting on line 46)
Warning: Duplicate definition found for service 'Workstation' on host 'dotaddc02.dotad' (config file '/usr/local/nagios/etc/services/dotaddc02.dotad.cfg', starting on line 366)
Warning: Duplicate definition found for service 'Windows Time' on host 'dotaddc02.dotad' (config file '/usr/local/nagios/etc/services/dotaddc02.dotad.cfg', starting on line 334)
Warning: Duplicate definition found for service 'Symantec Management Agent [Altiris Service]' on host 'dotaddc02.dotad' (config file '/usr/local/nagios/etc/services/dotaddc02.dotad.cfg', starting on line 304)
Warning: Duplicate definition found for service 'Symantec Endpoint Protection [SEP Service]' on host 'dotaddc02.dotad' (config file '/usr/local/nagios/etc/services/dotaddc02.dotad.cfg', starting on line 272)
Warning: Duplicate definition found for service 'Server' on host 'dotaddc02.dotad' (config file '/usr/local/nagios/etc/services/dotaddc02.dotad.cfg', starting on line 240)
Warning: Duplicate definition found for service 'Physical Memory Usage' on host 'dotaddc02.dotad' (config file '/usr/local/nagios/etc/services/dotaddc02.dotad.cfg', starting on line 193)
Warning: Duplicate definition found for service 'Free Space on C Drive' on host 'dotaddc02.dotad' (config file '/usr/local/nagios/etc/services/dotaddc02.dotad.cfg', starting on line 144)
Warning: Duplicate definition found for service 'DNS Server' on host 'dotaddc02.dotad' (config file '/usr/local/nagios/etc/services/dotaddc02.dotad.cfg', starting on line 112)
Warning: Duplicate definition found for service 'DFS Replication' on host 'dotaddc02.dotad' (config file '/usr/local/nagios/etc/services/dotaddc02.dotad.cfg', starting on line 80)
Warning: Duplicate definition found for service 'CPU Usage' on host 'dotaddc02.dotad' (config file '/usr/local/nagios/etc/services/dotaddc02.dotad.cfg', starting on line 48)
Warning: Duplicate definition found for service 'Active Directory Domain Services' on host 'dotaddc02.dotad' (config file '/usr/local/nagios/etc/services/dotaddc02.dotad.cfg', starting on line 16)
Warning: Duplicate definition found for service 'Ping' on host 'neatse2.state.nv.us' (config file '/usr/local/nagios/etc/services/neatse2.state.nv.us.cfg', starting on line 161)
Warning: Duplicate definition found for service 'Symantec Management Agent [Altiris Service]' on host 'gc1-pi' (config file '/usr/local/nagios/etc/services/gc1-pi.cfg', starting on line 253)
Warning: Duplicate definition found for service 'Symantec Endpoint Protection [SEP Service]' on host 'gc1-pi' (config file '/usr/local/nagios/etc/services/gc1-pi.cfg', starting on line 221)
Warning: Duplicate definition found for service 'Ping' on host 'sage' (config file '/usr/local/nagios/etc/services/rogue.cfg', starting on line 256)
Warning: Duplicate definition found for service 'Ping' on host 'newjubilee' (config file '/usr/local/nagios/etc/services/rogue.cfg', starting on line 256)
Warning: Duplicate definition found for service 'Ping' on host 'lotus' (config file '/usr/local/nagios/etc/services/rogue.cfg', starting on line 256)
Warning: Duplicate definition found for service 'Ping' on host 'ektronprod1a.web' (config file '/usr/local/nagios/etc/services/rogue.cfg', starting on line 256)
Warning: Duplicate definition found for service 'Ping' on host 'ektronintra' (config file '/usr/local/nagios/etc/services/rogue.cfg', starting on line 256)
Warning: Duplicate definition found for service 'Ping' on host 'ektrondev1' (config file '/usr/local/nagios/etc/services/rogue.cfg', starting on line 256)
Error: Could not expand hostgroups and/or hosts specified in host escalation (config file '/usr/local/nagios/etc/hostescalations.cfg', starting on line 16)
Error: Service '*' on host '*' has an escalation but is not defined anywhere!
Error: Could not register service escalation (config file '/usr/local/nagios/etc/serviceescalations.cfg', starting on line 28)
Error processing object config files!
***> One or more problems was encountered while processing the config files...
Check your configuration file(s) to ensure that they contain valid
directives and data definitions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.