[hobbit] badconn problem

Schwimmer, Eric E *HS EES2Y at hscmail.mcc.virginia.edu
Thu Apr 7 17:29:02 CEST 2005


Got it working;  looks like the sscanf statement in bbtest-net.c that
reads in the badconn values wasn't matching the string being fed to it.
I've attached a patch that fixed it.

-Eric 

-----Original Message-----
From: Schwimmer, Eric E *HS [mailto:EES2Y at hscmail.mcc.virginia.edu] 
Sent: Thursday, April 07, 2005 10:04 AM
To: hobbit at hswn.dk
Subject: RE: [hobbit] badconn problem


Don't know if this helps any, but I added the --debug flag to my
bbnet-test command for a single polling period, and got many lines
similar to this in my bb-network.log:

2005-04-06 15:49:54 No test for badtest spec host=foo-host,
test=conn:1:1:2

I found where this error is getting thrown in bbtest-net.c (789);  it
looks like the conn test isnt defined in the swalk linked list.  Its
been about 10 years since I've done any real C coding, but I'll let you
know if I can backtrace it any futher.

-Eric

-----Original Message-----
From: Schwimmer, Eric E *HS [mailto:EES2Y at hscmail.mcc.virginia.edu]
Sent: Wednesday, April 06, 2005 12:32 PM
To: hobbit at hswn.dk
Subject: [hobbit] badconn problem


Hi again Henrik; are you tired of hearing from me yet?

Something that I noticed a few days ago but forgot to bring up until
now:
All of the hosts in our bb-hosts file are defined in a similar fashion
to this:

1.1.1.1	hostname # badconn:1:1:2

However, any host that we monitor that fails a single ping test
immediately goes red.  I went so far as to change them all to
"badconn:100:200:300", with no result.  Any idea whats going on?

Thanks!
-Eric Schwimmer
Network Engineer
UVA HSCS Network Engineering 

To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk





To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk




-------------- next part --------------
A non-text attachment was scrubbed...
Name: bbnet-badconn.patch
Type: application/octet-stream
Size: 499 bytes
Desc: bbnet-badconn.patch
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20050407/5a05a85c/attachment.obj>


More information about the Xymon mailing list