Hi all, got another few posers:
I have a bb-hosts file with 1229 hosts in it, but no TCP (http/ssh/ftp) enabled. In my hobbitlaunch.cfg, I have bbnet configured as follows:
CMD bbtest-net --report --ping --checkresponse --dns=ip --concurrency=1500 --dns-timeout=5 --timeout=5
The bbtest output for my hobbit server shows the following snippets: <snip> DNS statistics:
hostnames resolved : 1220
succesful : 25
failed : 975
calls to dnsresolve : 0
</snip>
<snip> TIME SPENT Event Starttime Duration bbtest-net startup 1112644638.542264 - Service definitions loaded 1112644638.545180 0.002916 Tests loaded 1112644659.079652 20.534472 DNS lookups completed 1112644659.080039 0.000387 Test engine setup completed 1112644659.089031 0.008992 TCP tests completed 1112644659.089883 0.000852 PING test completed (1229 hosts) 1112644712.816387 53.726504 PING test results sent 1112644713.047301 0.230914 Test result collection completed 1112644713.047324 0.000023 LDAP test engine setup completed 1112644713.047339 0.000015 LDAP tests executed 1112644713.047369 0.000030 LDAP tests result collection completed 1112644713.047384 0.000015 Test results transmitted 1112644713.101506 0.054122 bbtest-net completed 1112644713.104883 0.003377 TIME TOTAL 74.562619 </snip>
I thought that the --dns=ip option in the hobbitlaunch.cfg precluded any DNS resolution, but the bbtest output above seems to indicate the opposite. Does anybody know what those DNS tests are the result of?
Also, I'm a bit curious as to the chronlogical breakdown of the bbtest events; specifically the "Tests Loaded" section. Does 20 seconds seem reasonable for a bb-hosts file our our size? (I'm trying desperately to get below the 60 second mark :)
TIA, -Eric Network Engineer University of Virginia HSCS
On Mon, Apr 04, 2005 at 04:09:34PM -0400, Schwimmer, Eric E *HS wrote:
I have a bb-hosts file with 1229 hosts in it, but no TCP (http/ssh/ftp) enabled. In my hobbitlaunch.cfg, I have bbnet configured as follows:
CMD bbtest-net --report --ping --checkresponse --dns=ip --concurrency=1500 --dns-timeout=5 --timeout=5
The bbtest output for my hobbit server shows the following snippets:
DNS statistics:
hostnames resolved : 1220
succesful : 25
failed : 975
calls to dnsresolve : 0
I thought that the --dns=ip option in the hobbitlaunch.cfg precluded any DNS resolution, but the bbtest output above seems to indicate the opposite. Does anybody know what those DNS tests are the result of?
The heading for that bit of statistics is slightly misleading. It really is just a summary of how many hostnames were converted into IP-adresses; this can happen via DNS, but when you use --dns=ip it is done entirely by using the IP's in the bb-hosts file. (The clue here is that the "# calls to dnsresolve" is 0). As your timing statistics show:
DNS lookups completed 1112644659.080039 0.000387
those 1000 IP's were found in less than one millisecond - that would be quite a feat if any DNS was involved.
Also, I'm a bit curious as to the chronlogical breakdown of the bbtest events;
Service definitions loaded 1112644638.545180 0.002916 Tests loaded 1112644659.079652 20.534472
specifically the "Tests Loaded" section. Does 20 seconds seem reasonable for a bb-hosts file our our size?
No, it seems a bit much. My main server has about 1500 hosts in it, and spends 4 seconds loading that file (actually, it is split into about 30 files). If you look at the "bbgen" status, what's the time reported for the "Load bbhosts done" line ?
I've looked over the code, but can't really spot anything that would explain why it takes so long.
(I'm trying desperately to get below the 60 second mark :)
Well, in that case perhaps you should lower the timeout on your ping-tests - they account for 70% of the total time:
PING test completed (1229 hosts) 1112644712.816387 53.726504 TIME TOTAL 74.562619
The ping tests are performed using "fping", so you may want to try and play with fping options to control the timeout and # of retries it does. You can add those to the FPING setting in hobbitserver.cfg.
Any particular reason you want to get below 60 seconds ? Are you aware that Hobbit has a "re-test" script that performs more frequent tests on hosts that go down ? When a network test begins to fail, Hobbit puts that host on "frequent-test" list meaning that for up to 30 minutes that host will be tested once a minute rather than once every 5 minutes; so recoveries should be picked up faster.
Regards, Henrik
Hi,
my test hobbit server has 1500 entry in bbhost (only doing network test for now) and bbtest-net's report says for me : Tests loaded 1112649412.475584 56.090490
that seems awfully high compared to henrik's 4 seconds..
what do you guys have on your servers ?
Olivier
Also, I'm a bit curious as to the chronlogical breakdown of the bbtest events;
Service definitions loaded 1112644638.545180 0.002916 Tests loaded 1112644659.079652 20.534472
specifically the "Tests Loaded" section. Does 20 seconds seem reasonable for a bb-hosts file our our size?
No, it seems a bit much. My main server has about 1500 hosts in it, and spends 4 seconds loading that file (actually, it is split into about 30 files). If you look at the "bbgen" status, what's the time reported for the "Load bbhosts done" line ?
I've looked over the code, but can't really spot anything that would explain why it takes so long.
On Mon, 2005-04-04 at 23:29 +0200, olivier at qalpit.com wrote:
Hi,
my test hobbit server has 1500 entry in bbhost (only doing network test for now) and bbtest-net's report says for me : Tests loaded 1112649412.475584 56.090490
that seems awfully high compared to henrik's 4 seconds..
what do you guys have on your servers ?
311 devices, about 1900 entries, most from bbmrtg.pl...
TIME SPENT Event Starttime Duration bbtest-net startup 1112650367.265647 - Service definitions loaded 1112650367.267585 0.001938 Tests loaded 1112650367.290754 0.023169 DNS lookups completed 1112650372.316388 5.025634 Test engine setup completed 1112650372.320199 0.003811 TCP tests completed 1112650382.998951 10.678752 PING test completed (295 hosts) 1112650384.326074 1.327123 PING test results sent 1112650384.340618 0.014544 Test result collection completed 1112650384.340642 0.000024 LDAP test engine setup completed 1112650384.340648 0.000006 LDAP tests executed 1112650384.340663 0.000015 LDAP tests result collection completed 1112650384.340666 0.000003 NTP tests executed 1112650403.296982 18.956316 DIG tests executed 1112650403.304854 0.007872 Test results transmitted 1112650403.316908 0.012054 bbtest-net completed 1112650403.324258 0.007350 TIME TOTAL 36.058611
Oh, and hobbit 4.0.1 compiles and runs just fine on Mandrake 2005LE. RPM built nicely, et alia. The only thing I had to do was change the umask in ~hobbit/.bash_profile to 022, since running Mandrake in Paranoid MSEC mode sets the umask to 077, which means that apache can't read the bb.html page...
-- Daniel J McDonald, CCIE # 2495, CNX Austin Energy
dan.mcdonald at austinenergy.com
participants (4)
-
dan.mcdonald@austinenergy.com
-
EES2Y@hscmail.mcc.virginia.edu
-
henrik@hswn.dk
-
olivier@qalpit.com