Where do these duplicates service definitions come from?
Posted: Wed Nov 23, 2011 1:48 am
Every now and then I see messages like the following while Nagios does pre-flight checks:
I have to delete them manually all the time. I was wondering where do they come from? Is there any way to prevent them from reoccuring?
Thanks
Code: Select all
Warning: Duplicate definition found for service 'SERVICE-X' on host 'srv-svv-0192' (config file '/usr/local/nagios/etc/services/srv-svv-0192.cfg', starting on line 107)
Warning: Duplicate definition found for service 'SERVICE-X' on host 'srv-svv-0170' (config file '/usr/local/nagios/etc/services/srv-svv-0170.cfg', starting on line 107)
Warning: Duplicate definition found for service 'SERVICE-X' on host 'srv-svv-0183' (config file '/usr/local/nagios/etc/services/srv-svv-0183.cfg', starting on line 107)
Warning: Duplicate definition found for service 'SERVICE-X' on host 'srv-svv-0185' (config file '/usr/local/nagios/etc/services/srv-svv-0185.cfg', starting on line 107)
Warning: Duplicate definition found for service 'SERVICE-X' on host 'srv-svv-0189' (config file '/usr/local/nagios/etc/services/srv-svv-0189.cfg', starting on line 107)
Warning: Duplicate definition found for service 'SERVICE-X' on host 'srv-svv-0180' (config file '/usr/local/nagios/etc/services/srv-svv-0180.cfg', starting on line 107)
..... any many more
Thanks