Xymon Mailing List Archive search

Problems with hobbitping when the Network is unreachable (BUG)

list Henrik Størner
Fri, 23 May 2008 10:48:53 +0200
Message-Id: <user-a704b7f87cff@xymon.invalid>

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
Attachments (1)