Xymon Mailing List Archive search

bbtest-net output & poll time

list Eric E *hs Schwimmer
Mon, 4 Apr 2005 18:21:14 -0400
Message-Id: <user-2b27ef4e0bee@xymon.invalid>

Ahhh, wonders achieved!!

TIME SPENT
Event                                            Starttime          Duration
bbtest-net startup                       1112653079.892656                 -
Service definitions loaded               1112653079.895452          0.002796 Tests loaded                             1112653080.000170          0.104718 DNS lookups completed                    1112653080.000448          0.000278 Test engine setup completed              1112653080.010469          0.010021 TCP tests completed                      1112653080.011328          0.000859 PING test completed (1229 hosts)         1112653119.138755         39.127427 PING test results sent                   1112653119.383178          0.244423 Test result collection completed         1112653119.383202          0.000024 LDAP test engine setup completed         1112653119.383217          0.000015 LDAP tests executed                      1112653119.383247          0.000030 LDAP tests result collection completed   1112653119.383262          0.000015 Test results transmitted                 1112653119.432869          0.049607 bbtest-net completed                     1112653119.436212          0.003343 TIME TOTAL                                                         39.543556

Thanks Henrik, you rock!!

-Eric

-----Original Message-----
From:	Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid]
Sent:	Mon 4/4/2005 5:50 PM
To:	user-ae9b8668bcde@xymon.invalid
Cc:	
Subject:	Re: [hobbit] bbtest-net output & poll time
On Mon, Apr 04, 2005 at 05:09:47PM -0400, Schwimmer, Eric E *HS wrote:
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 ?
From bbgen:
Load bbhosts done        1112648694.989501          0.178303
I tried playing around with this, and there is a bug. It adds the
hostnames to the DNS resolver queue, and since you have more than 500
hosts the DNS resolver does kick in and tries to do DNS lookups of
those hostnames.

I think this little patch should do wonders for your runtime.


Regards,
Henrik