Xymon Mailing List Archive search

Disable netstat test

3 messages in this thread

list Lee J. Imber · Mon, 8 Jan 2007 16:47:09 -0500 ·
Greet,

Just had a new issue pop up and looking for some suggestions/help.

We had to enable a firewall to do BGP routing for a new Colo Install.

Once the firewall received the routes from the edge router hobbit  went insane.

What does insane mean?

Well, it no longer sent updates the hobbit server. Also, if I tried  to restart hobbit, hobbit consumes 100% of the CPU.

I get the following in the logs :

2007-01-08 18:02:28 Write error while sending message to  bbd at 172.16.2.10:1984
2007-01-08 18:02:28 Whoops ! bb failed to send message - write error

I have already allocated more memory on the FreeBSD box.

What is most likely happening is hobbit runs the netstat command and  expects to get a few routes not 250,000 of them! And this is where it  is hanging.

Any idea how to disable the netstat test in the hobbit client?

Or perhaps another way around this?

Thanks,

Lee
list Henrik Størner · Mon, 8 Jan 2007 23:11:46 +0100 ·
quoted from Lee J. Imber
On Mon, Jan 08, 2007 at 04:47:09PM -0500, Lee J. Imber wrote:
What is most likely happening is hobbit runs the netstat command and  expects to get a few routes not 250,000 of them! And this is where it  is hanging.

Any idea how to disable the netstat test in the hobbit client?
Edit the client script in ~hobbit/client/bin/hobbitclient-YOUROS.sh
and just remove the "netstat -rn" command.


Henrik
list Lee J. Imber · Mon, 8 Jan 2007 18:32:13 -0500 ·
As always you are the man.

Thanks! Works great.

L.
quoted from Henrik Størner


On Jan 8, 2007, at 5:11 PM, Henrik Stoerner wrote:
On Mon, Jan 08, 2007 at 04:47:09PM -0500, Lee J. Imber wrote:
What is most likely happening is hobbit runs the netstat command and
expects to get a few routes not 250,000 of them! And this is where it
is hanging.

Any idea how to disable the netstat test in the hobbit client?
Edit the client script in ~hobbit/client/bin/hobbitclient-YOUROS.sh
and just remove the "netstat -rn" command.


Henrik