Problem with 'worst' conn method reporting
list Eric E *hs Schwimmer
Hi Henrik, We've had a problem with the 'worst' conn method for a while now, and I've never got around to reporting or looking into it. Basically what happens is that a host with multiple IP addresses and the 'worst' conn method wont report any status changes (it will always be green, even if one or all of its ips are unpingable). I think I've fixed this, it was a pretty simple bug; on line 1383 of bbtest-net.c, I changed 'countasdown = 0;' to 'countasdown = 1;'. I didn't really investigate the ramifications of what this change might have on the rest of the code, so let me know if I'm way off base. (I know it did fix the worst issue, though, because 3 of our multi-interface sites with unpingable ifcs immediately went red). Regards, -Eric Schwimmer Network Engineer UVA HSCS Network Engineering
list Adam Scheblein
is there an easy way to determine what version of the client is installed? thanks, Adam
list Adam Scheblein
Does anyone have any ideas on this??
▸
-----Original Message-----
From: Adam Scheblein [mailto:user-de8d51f0c651@xymon.invalid]
Sent: Friday, November 04, 2005 1:30 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] hobbit client versions
is there an easy way to determine what version of the client is
installed?
thanks,
Adam
list Rob MacGregor
On 08/11/05, Scheblein, Adam <user-de8d51f0c651@xymon.invalid> wrote:
Does anyone have any ideas on this??
Don't know about "easy", but the following does work (even if it is ugly):
strings bb | grep "^[1-9]\."
Will work for all versions of hobbit up to and including 9 :-)
--
Please keep list traffic on the list.
Rob MacGregor
Whoever fights monsters should see to it that in the process he
doesn't become a monster. Friedrich Nietzsche
list Pat Vaughan
▸
On 08/11/05, Scheblein, Adam <user-de8d51f0c651@xymon.invalid> wrote:Does anyone have any ideas on this??Don't know about "easy", but the following does work (even if it is ugly): strings bb | grep "^[1-9]\." Will work for all versions of hobbit up to and including 9 :-)
I don't think this is consistant on all platforms. On AIX: #strings bb | grep "^[1-9]\." 1.14 src/bos/usr/ccs/lib/libc/__threads_init.c, libcthrd, bos520 7/11/00 12:04:14 and a client compiled from the same source on Linux: # strings bb | grep "^[1-9]\." 4.1.2
list Henrik Størner
▸
On Wed, Nov 09, 2005 at 09:20:23AM -0500, Pat Vaughan wrote:
On 08/11/05, Scheblein, Adam <user-de8d51f0c651@xymon.invalid> wrote:Does anyone have any ideas on this??Don't know about "easy", but the following does work (even if it is ugly): strings bb | grep "^[1-9]\." Will work for all versions of hobbit up to and including 9 :-)I don't think this is consistant on all platforms.
Probably not. I've added a "--version" option for the "bb" and "bbcmd" commands now - both of these are included in the client installation. So in the future, you can run "bbcmd --version" and it will say henrik at osiris:~/hobbit$ ./common/bbcmd --version Hobbit version 4.1.2 Regards, Henrik
list Adam Scheblein
Is this available in 4.1.2 or is there a patch, or should I get the latest snapshot? Thanks, Adam
▸
-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: Wednesday, November 09, 2005 10:00 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] hobbit client versions
On Wed, Nov 09, 2005 at 09:20:23AM -0500, Pat Vaughan wrote:On 08/11/05, Scheblein, Adam <user-de8d51f0c651@xymon.invalid> wrote:Does anyone have any ideas on this??Don't know about "easy", but the following does work (even if it is ugly): strings bb | grep "^[1-9]\." Will work for all versions of hobbit up to and including 9 :-)I don't think this is consistant on all platforms.
Probably not. I've added a "--version" option for the "bb" and "bbcmd" commands now - both of these are included in the client installation. So in the future, you can run "bbcmd --version" and it will say henrik at osiris:~/hobbit$ ./common/bbcmd --version Hobbit version 4.1.2 Regards, Henrik
list Henrik Størner
▸
I wrote:
Probably not. I've added a "--version" option for the "bb" and "bbcmd" commands now - both of these are included in the client installation. So in the future, you can run "bbcmd --version" and it will say henrik at osiris:~/hobbit$ ./common/bbcmd --version Hobbit version 4.1.2
On Wed, Nov 09, 2005 at 10:44:34AM -0600, Scheblein, Adam wrote:
Is this available in 4.1.2 or is there a patch, or should I get the latest snapshot?
It's in the next snapshot, which becomes available shortly after midnight Copenhagen time (6 PM EST). Henrik
list Eric E *hs Schwimmer
Doesn't look like this made its way into the current alfa code. (We must migrated to a new servers and this bit me again, so I thought I'd give it a bump).
▸
-Eric Schwimmer
Network Engineer
UVA HSCS Network Engineering -----Original Message----- From: Schwimmer, Eric E *HS Sent: Friday, November 04, 2005 9:40 AM To: user-ae9b8668bcde@xymon.invalid Subject: Problem with 'worst' conn method reporting Hi Henrik, We've had a problem with the 'worst' conn method for a while now, and I've never got around to reporting or looking into it. Basically what happens is that a host with multiple IP addresses and the 'worst' conn method wont report any status changes (it will always be green, even if one or all of its ips are unpingable). I think I've fixed this, it was a pretty simple bug; on line 1383 of bbtest-net.c, I changed 'countasdown = 0;' to 'countasdown = 1;'. I didn't really investigate the ramifications of what this change might have on the rest of the code, so let me know if I'm way off base. (I know it did fix the worst issue, though, because 3 of our multi-interface sites with unpingable ifcs immediately went red). Regards, -Eric Schwimmer Network Engineer UVA HSCS Network Engineering
list Henrik Størner
▸
On Mon, May 22, 2006 at 09:58:51AM -0400, Schwimmer, Eric E *HS wrote:
Doesn't look like this made its way into the current alfa code. (We must migrated to a new servers and this bit me again, so I thought I'd give it a bump).I think I've fixed this, it was a pretty simple bug; on line 1383 of bbtest-net.c, I changed 'countasdown = 0;' to 'countasdown = 1;'.
Looks correct, applied. Thanks, Henrik