Deleted service keeps getting recreated causing failure
Posted: Fri Jun 10, 2011 1:13 pm
After adding and modifying various hosts I have been trying to apply my configuration and getting a duplicate service failure.
For some reason a service that we deleted keeps re-appearing and causing an error.
One of the MANY errors looks like the following: (they are all similar in nature just different hosts)
Warning: Duplicate definition found for service 'PING' on host 'VPN-LA-Argentina-ASA-Lan' (config file '/usr/local/nagios/etc/services/LA-DEVICES-Ping.cfg', starting on line 14)
Warning: Duplicate definition found for service 'PING' on host 'EVPN-LA-PDQFL01R-l' (config file '/usr/local/nagios/etc/services/la-devices-ping.cfg', starting on line 14)
The REAL service is called la-devices-ping.cfg. the incorrect one is LA-DEVICES-Ping.cfg and this was DELTED yet it keeps reappearing when I do the apply and get the error messages.
If I manually delete the LA-DEVICES-Ping.cfg file and re-run apply configuration the error will go away the first time. However, if I reapply configuration again it reappears and gives all the errors.
Sytem specifics:
Linux: Red Hat Enterprise Linux Server release 5.6
uname -a
Linux nagxi.xxxxxxxx.com 2.6.18-238.9.1.el5 #1 SMP Fri Mar 18 12:42:39 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
Nagios XI: Installed Version:2009R1.4B
Thank you in advance.
For some reason a service that we deleted keeps re-appearing and causing an error.
One of the MANY errors looks like the following: (they are all similar in nature just different hosts)
Warning: Duplicate definition found for service 'PING' on host 'VPN-LA-Argentina-ASA-Lan' (config file '/usr/local/nagios/etc/services/LA-DEVICES-Ping.cfg', starting on line 14)
Warning: Duplicate definition found for service 'PING' on host 'EVPN-LA-PDQFL01R-l' (config file '/usr/local/nagios/etc/services/la-devices-ping.cfg', starting on line 14)
The REAL service is called la-devices-ping.cfg. the incorrect one is LA-DEVICES-Ping.cfg and this was DELTED yet it keeps reappearing when I do the apply and get the error messages.
If I manually delete the LA-DEVICES-Ping.cfg file and re-run apply configuration the error will go away the first time. However, if I reapply configuration again it reappears and gives all the errors.
Sytem specifics:
Linux: Red Hat Enterprise Linux Server release 5.6
uname -a
Linux nagxi.xxxxxxxx.com 2.6.18-238.9.1.el5 #1 SMP Fri Mar 18 12:42:39 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
Nagios XI: Installed Version:2009R1.4B
Thank you in advance.