badconn problem
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:user-1e1008b069d5@xymon.invalid] Sent: Thursday, April 07, 2005 10:04 AM To: user-ae9b8668bcde@xymon.invalid 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:user-1e1008b069d5@xymon.invalid] Sent: Wednesday, April 06, 2005 12:32 PM To: user-ae9b8668bcde@xymon.invalid 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
Attachments (1)