Xymon Mailing List Archive search

Problems with hobbitping when the Network isunreachable (BUG)

list Sebastian Auriol
Fri, 23 May 2008 14:15:55 +0100
Message-Id: <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAAC4AAAAAAAAAvrTCuIsz1xGxNWiNbQAAAAEAUR1BVCzq0xGwsQCgzFqsgwAAAAGTZwAAEAAAADn6u9y8FRxPuiVTLWyU/U8BAAAAAA==@syntec.co.uk>

Tested and it does solve the problem. (Network test goes red with:
Service conn on XXXGW1 is not OK : Host responds to ping on 2 of 7 IP's

...

Traceroute results:
socket: Network is unreachable
)

Thanks for the quick patch.

Sebastian 
-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] Sent: 23 May 2008 09:49
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Problems with hobbitping when the Network isunreachable (BUG)

On Thu, May 22, 2008 at 07:07:42PM +0100, Sebastian wrote:
I rebooted my hobbit server and it lost its default gateway, unbeknown to
me.  The only symptoms of something wrong was a purple in a network test is
was supposed to be doing and a purple in the server's bbtest column.  Now, I
reckon one or other or both of these should have both gone red and not
purple, and the reason that they did not is due to hobbitping going into a
spin:  what looks like a fairly tight loop.  Hobbitping was using quite a
lot of CPU (I saw it at well over 30%) and server/tmp/ping-stdout.1407 was
empty but server/tmp/ping-stderr.5499 was getting many (about 60) "Failed to
send ICMP packet: Network is unreachable" written to it every second.
Thanks, the attached patch should solve this problem.


Regards,
Henrik