Xymon Mailing List Archive search

ping test is too slow

list Jerald Sheets
Mon, 14 Jun 2010 15:12:06 -0400
Message-Id: <user-e62bb900c41c@xymon.invalid>

Bruce's answer was 100% pertinent to the question asked, and in my
experience the proper answer.

Hobbitping is not everything it could be, and it's much better from the
get-go to use fping.  Whether you like the answer or not doesn't make it any
less an answer.


---
Jerald M. Sheets jr.


On Mon, Jun 14, 2010 at 2:19 PM, Ryan Novosielski <user-ae4522577e16@xymon.invalid>wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Do not thread hijack.

user-9219fb9415b1@xymon.invalid wrote:
Hi

for some time I am having problems with out ping test of hobbit. It runs
longer that the time intervall. Is it possible to speed up the test? I
don't want to make the intervall longer.
I am using the hobbitping. I tried doubling --max_pps from 50 to 100
with no effect.

Most of the time the DNS-lookup eats up 20 seconds, but sometimes it is
near zero! Why that? Most of my monitored system have a testip tag, so
should not do any DNS lookup at all. But some WLAN accesspoints which
are configured for using DHCP does not have the testip tag.

In the manpage of hobbitping I read something about a runtime of 18
seconds for 1000 clients. Why it is so slow on my machine? It's a fast
machine, Opteron with 1GBit network interface.

Here ist the output of bbtest:

bbtest-net version 4.2.0
SSL library : OpenSSL 0.9.7a Feb 19 2003
LDAP library: OpenLDAP 20213

Statistics:
 Hosts total           :      834
 Hosts with no tests   :       20
 Total test count      :      819
 Status messages       :      820
 Alert status msgs     :        0
 Transmissions         :       10

DNS statistics:
 # hostnames resolved  :      288
 # succesful           :      288
 # failed              :        0
 # calls to dnsresolve :      290

TCP test statistics:
 # TCP tests total     :        3
 # HTTP tests          :        2
 # Simple TCP tests    :        1
 # Connection attempts :        3
 # bytes written       :      261
 # bytes read          :     1467


Error output:
WARNING: Runtime 68 longer than time limit (60)


TIME SPENT
Event                                            Starttime
 Duration
bbtest-net startup                       1276505088.377616
  -
Service definitions loaded               1276505088.380818
 0.003202
Tests loaded                             1276505088.417419
 0.036601
DNS lookups completed                    1276505108.462455
20.045036 <<<----
Test engine setup completed              1276505108.479249
 0.016794
TCP tests completed                      1276505108.482081
 0.002832
PING test completed (814 hosts)          1276505156.193513
47.711432 <<<----
PING test results sent                   1276505156.334798
 0.141285
Test result collection completed         1276505156.334808
 0.000010
LDAP test engine setup completed         1276505156.334809
 0.000001
LDAP tests executed                      1276505156.334819
 0.000010
LDAP tests result collection completed   1276505156.334820
 0.000001
NSLOOKUP tests executed                  1276505156.339081
 0.004261
Test results transmitted                 1276505156.473376
 0.134295
bbtest-net completed                     1276505156.475145
 0.001769
TIME TOTAL
68.097529


Thorsten Erdmann

If you are not the intended addressee, please inform us immediately that
you have received this e-mail in error, and delete it. We thank you for
your cooperation.
- --
- ---- _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Sr. Systems Programmer
|$&| |__| |  | |__/ | \| _| |user-ae4522577e16@xymon.invalid - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.|IST/CST-Academic Svcs. - ADMC 450, Newark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkwWcscACgkQmb+gadEcsb6sAgCcCwPz+eE3m0Kuqq8fD61IOU/1
mtkAoKHhu4hTA+M9tW76EuavgDMavaLF
=z1eB
-----END PGP SIGNATURE-----