Duplicate definition for service on host 'localhost'
Posted: Tue Apr 29, 2014 1:20 pm
Hello.
I'm running Nagios XI version 2012R2.9 on Red Hat Linux 6.5
Last week I worked with Nagios Tech Support and we were able to remove all the existing Services and Hosts and get back the Localhost.
I attempted to run a Windows WMI monitor to add a Windows server, and noted error messages in the Config file that was created, so I did not apply the configuration.
I now note the following in the Event Log that confirms some of the error messages in the Configuration files and wonder if this can be fixed and how, and after fixing these, will I be able to successfully run a new Windows monitor wizard add?
Configuration Warning2014-04-29 07:57:18Warning: Duplicate definition found for service 'Current Load' on host 'localhost' (config file '/usr/local/nagios/etc/services/localhost_services.cfg', starting on line 14)
Configuration Warning2014-04-29 07:57:18Warning: Duplicate definition found for service 'Current Users' on host 'localhost' (config file '/usr/local/nagios/etc/services/localhost_services.cfg', starting on line 22)
Configuration Warning2014-04-29 07:57:18Warning: Duplicate definition found for service 'HTTP' on host 'localhost' (config file '/usr/local/nagios/etc/services/localhost_services.cfg', starting on line 30)
Configuration Warning2014-04-29 07:57:18Warning: Duplicate definition found for service 'PING' on host 'localhost' (config file '/usr/local/nagios/etc/services/localhost_services.cfg', starting on line 38)
Configuration Warning2014-04-29 07:57:18Warning: Duplicate definition found for service 'Root Partition' on host 'localhost' (config file '/usr/local/nagios/etc/services/localhost_services.cfg', starting on line 46)
Configuration Warning2014-04-29 07:57:18Warning: Duplicate definition found for service 'SSH' on host 'localhost' (config file '/usr/local/nagios/etc/services/localhost_services.cfg', starting on line 54)
Configuration Warning2014-04-29 07:57:18Warning: Duplicate definition found for service 'Swap Usage' on host 'localhost' (config file '/usr/local/nagios/etc/services/localhost_services.cfg', starting on line 62)
Configuration Warning2014-04-29 07:57:18Warning: Duplicate definition found for service 'Total Processes' on host 'localhost' (config file '/usr/local/nagios/etc/services/localhost_services.cfg', starting on line 70)
Thank you.
I'm running Nagios XI version 2012R2.9 on Red Hat Linux 6.5
Last week I worked with Nagios Tech Support and we were able to remove all the existing Services and Hosts and get back the Localhost.
I attempted to run a Windows WMI monitor to add a Windows server, and noted error messages in the Config file that was created, so I did not apply the configuration.
I now note the following in the Event Log that confirms some of the error messages in the Configuration files and wonder if this can be fixed and how, and after fixing these, will I be able to successfully run a new Windows monitor wizard add?
Configuration Warning2014-04-29 07:57:18Warning: Duplicate definition found for service 'Current Load' on host 'localhost' (config file '/usr/local/nagios/etc/services/localhost_services.cfg', starting on line 14)
Configuration Warning2014-04-29 07:57:18Warning: Duplicate definition found for service 'Current Users' on host 'localhost' (config file '/usr/local/nagios/etc/services/localhost_services.cfg', starting on line 22)
Configuration Warning2014-04-29 07:57:18Warning: Duplicate definition found for service 'HTTP' on host 'localhost' (config file '/usr/local/nagios/etc/services/localhost_services.cfg', starting on line 30)
Configuration Warning2014-04-29 07:57:18Warning: Duplicate definition found for service 'PING' on host 'localhost' (config file '/usr/local/nagios/etc/services/localhost_services.cfg', starting on line 38)
Configuration Warning2014-04-29 07:57:18Warning: Duplicate definition found for service 'Root Partition' on host 'localhost' (config file '/usr/local/nagios/etc/services/localhost_services.cfg', starting on line 46)
Configuration Warning2014-04-29 07:57:18Warning: Duplicate definition found for service 'SSH' on host 'localhost' (config file '/usr/local/nagios/etc/services/localhost_services.cfg', starting on line 54)
Configuration Warning2014-04-29 07:57:18Warning: Duplicate definition found for service 'Swap Usage' on host 'localhost' (config file '/usr/local/nagios/etc/services/localhost_services.cfg', starting on line 62)
Configuration Warning2014-04-29 07:57:18Warning: Duplicate definition found for service 'Total Processes' on host 'localhost' (config file '/usr/local/nagios/etc/services/localhost_services.cfg', starting on line 70)
Thank you.