Xymon Mailing List Archive search

Problem with 'worst' conn method reporting

10 messages in this thread

list Eric E *hs Schwimmer · Fri, 4 Nov 2005 09:39:53 -0500 ·
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 · Fri, 04 Nov 2005 13:29:37 -0600 ·
is there an easy way to determine what version of the client is installed?

thanks,
Adam
list Adam Scheblein · Tue, 8 Nov 2005 08:36:30 -0600 ·
Does anyone have any ideas on this??
quoted from Adam Scheblein

-----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 · Tue, 8 Nov 2005 16:43:03 +0000 ·
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 · Wed, 9 Nov 2005 09:20:23 -0500 (EST) ·
quoted from 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 :-)
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 · Wed, 9 Nov 2005 16:59:38 +0100 ·
quoted from Pat Vaughan
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 · Wed, 9 Nov 2005 10:44:34 -0600 ·
Is this available in 4.1.2 or is there a patch, or should I get the
latest snapshot?

Thanks,
Adam
quoted from Henrik Størner

-----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 · Wed, 9 Nov 2005 21:43:36 +0100 ·
quoted from Adam Scheblein
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 · Mon, 22 May 2006 09:58:51 -0400 ·
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).
quoted from Eric E *hs Schwimmer

-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 · Sun, 28 May 2006 17:32:24 +0200 ·
quoted from Eric E *hs Schwimmer
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