Isn't the hostname the "primary key"? Can you use the same hostname with multiple IP addresses?
/Johan
From: d.tom.schmitt at L-3com.com [mailto:d.tom.schmitt at L-3com.com] Sent: den 30 augusti 2010 15:54 To: xymon at xymon.com Subject: [xymon] TS - bb-hosts problem Importance: High
I am getting a yellow alert on my Xymon server under 'BBTEST':
Bottom of Form Mon Aug 30 07:43:57 2010
bbtest-net version 4.3.0-0.beta2 SSL library : OpenSSL 0.9.8e-rhel5 01 Jul 2008 LDAP library: OpenLDAP 20343
Statistics: Hosts total : 951 Hosts with no tests : 0 Total test count : 1008 Status messages : 1012 Alert status msgs : 0 Transmissions : 14
DNS statistics:
hostnames resolved : 975
succesful : 573
failed : 382
calls to dnsresolve : 1002
TCP test statistics:
TCP tests total : 40
HTTP tests : 30
Simple TCP tests : 10
Connection attempts : 40
bytes written : 4682
bytes read : 109923
Error output: Host cswflex4.csw.l-3com.com appears twice in bb-hosts! This may cause strange results
TIME SPENT Event Starttime Duration bbtest-net startup 8802.037154 - Service definitions loaded 8802.038670 0.001516 Tests loaded 8802.134488 0.095818 DNS lookups completed 8807.226739 5.092251 Test engine setup completed 8807.245081 0.018342 TCP tests completed 8810.416313 3.171232 PING test completed (951 hosts) 8859.946266 49.529953 PING test results sent 8859.949945 0.003679 Test result collection completed 8859.950004 0.000059 LDAP test engine setup completed 8859.950006 0.000002 LDAP tests executed 8859.950008 0.000002 LDAP tests result collection completed 8859.950010 0.000002 DNS tests executed 8860.077831 0.127821 NTP tests executed 8861.305830 1.227999 Test results transmitted 8861.339357 0.033527 bbtest-net completed 8861.340730 0.001373 TIME TOTAL 59.303576
Here is a 'grep' of bb-hosts: [root at monitorp etc]# grep -i cswflex4 bb-hosts 0.0.0.0 cswflex4.csw.L-3com.com 128.170.31.14 cswflex4.csw.L-3com.com # conn 0.0.0.0 cswflex4.csw.l-3com.com 0.0.0.0 cswflex4.csw.l-3com.com [root at monitorp etc]#
I cannot find a second entry with an IP address. I have hundreds of other servers with 0.0.0.0 entries so I cannot figure out what is happening?
Running Xymon 4.3.0-0.beta2 on CentOS 5.5 on Dell R-610. I tried to do a 'drop hostname', could there be a duplicate in the Xymon data base? If so, how do you remove the bad one so you don't loose the history being gathered by the client on the Windows server. The client is the big brother client.
Thanks,
Tom Schmitt Senior IT Staff - R&D L-3 Communication Systems West 640 North 2200 West P.O. Box 16850 Salt Lake City, UT 84116 Phone (801) 594-3030 Cell (801) 231-7230 eFax (413) 480-6873 D.Tom.Schmitt at L-3Com.com<mailto:D.Tom.Schmitt at L-3Com.com> \\\\||//// \ ~ ~ / | @ @ | --oOo---(_)---oOo--