Warning: Duplicate definition found for service 'HTTP' on ..
Posted: Tue Jun 10, 2014 12:49 pm
Hello:
The Configuration snapshot identifies the following warning message for about 6 Hosts:
"
Warning: Duplicate definition found for service 'HTTP' on host '<EDITED: SERVER 1>' (config file '/usr/local/nagios/etc/services/<EDITED: SERVER 1>.cfg', starting on line 31)
Warning: Duplicate definition found for service 'HTTP' on host '<EDITED: SERVER 1>' (config file '/usr/local/nagios/etc/services/<EDITED: SERVER 1>.cfg', starting on line 14)
"
All 6 Hosts have the same HTTP line repeated, but not the same number of times repeated (one has only 1 additional repeated HTTP entry, another may have 3 additional repeated entries):
"define service {
host_name <EDITED: SERVER x>
service_description HTTP
use xiwizard_tcp_service
check_command check_xi_service_tcp!-p 80
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
first_notification_delay 15
notification_period xi_timeperiod_24x7
contacts <EDITED: CONTACT NAME>
_xiwizard autodiscovery
register 1
}
"
One specific server is a Linux RedHat server with Apache and another is a Windows 2008 R2 Enterprise server using IIS 7, so this problem does not appear to have a common denominator that I can see.
Additionally, the respected .CFG files state "--- DO NOT EDIT THIS FILE BY HAND ---"
I looked at the Hosts and see only HTTP reference/service.
Any ideas on if this can be fixed, or identify if this is okay and what does it mean (is there more than one HTTP service running on the server, but I am not identifying that), or ??
Thank you.
The Configuration snapshot identifies the following warning message for about 6 Hosts:
"
Warning: Duplicate definition found for service 'HTTP' on host '<EDITED: SERVER 1>' (config file '/usr/local/nagios/etc/services/<EDITED: SERVER 1>.cfg', starting on line 31)
Warning: Duplicate definition found for service 'HTTP' on host '<EDITED: SERVER 1>' (config file '/usr/local/nagios/etc/services/<EDITED: SERVER 1>.cfg', starting on line 14)
"
All 6 Hosts have the same HTTP line repeated, but not the same number of times repeated (one has only 1 additional repeated HTTP entry, another may have 3 additional repeated entries):
"define service {
host_name <EDITED: SERVER x>
service_description HTTP
use xiwizard_tcp_service
check_command check_xi_service_tcp!-p 80
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
first_notification_delay 15
notification_period xi_timeperiod_24x7
contacts <EDITED: CONTACT NAME>
_xiwizard autodiscovery
register 1
}
"
One specific server is a Linux RedHat server with Apache and another is a Windows 2008 R2 Enterprise server using IIS 7, so this problem does not appear to have a common denominator that I can see.
Additionally, the respected .CFG files state "--- DO NOT EDIT THIS FILE BY HAND ---"
I looked at the Hosts and see only HTTP reference/service.
Any ideas on if this can be fixed, or identify if this is okay and what does it mean (is there more than one HTTP service running on the server, but I am not identifying that), or ??
Thank you.