[xymon] Wrong (or badly interpreted) http response time with hobbit 4.2.0
Henrik Størner
henrik at hswn.dk
Thu Sep 23 14:56:04 CEST 2010
In <4C848223.3060002 at unige.ch> Benoit SCHMID <Benoit.Schmid at unige.ch> writes:
>Has anyone an idea on how I could trace why I have these wrong response
>time?
The only real way of tracing it is to run bbtest-net with "--debug".
bbcmd bbtest-net --debug my.server.name
You'll probably want to dump that output to a file...
What you'll get from this looks something like this:
2010-09-23 14:50:14 About to do 3 TCP tests running 256 in parallel, abs.max 1014
2010-09-23 14:50:14 3 tests pending - 3 active tests, 0 slow tests
"3 active tests" means at this point the connection is being established.
For debugging your http problems, it is probably best to trim your
list of tests in the bb-hosts file so you only run one test.
2010-09-23 14:50:14 Doing select with maxfd=4
We're waiting for data from the server
2010-09-23 14:50:14 select returned 1
2010-09-23 14:50:14 read 680 bytes from socket
We now got 680 bytes.
2010-09-23 14:50:14 HDC IN : state=0, leftinchunk=0, len=440
2010-09-23 14:50:14 HDC OUT: state=0, leftinchunk=0, len=0
Xymon is decoding the "chunked data" sent by the HTTP server.
2010-09-23 14:50:14 TCP tests completed normally
Connection has been closed
Address=172.16.10.2:80, open=1, res=0, err=0, connecttime=0.001439, totaltime=0.00351
The time spent doing the connect, and the total time. The latter
is the one that is reported to the Xymon server.
Regards,
Henrik
More information about the Xymon
mailing list