Xymon Mailing List Archive search

bbtest-net issues

3 messages in this thread

list Great D Dilla · Wed, 7 Feb 2007 19:06:55 +0800 ·
I have just migrated the hobbit server from an FC5 (32bit) host to a RHEL4
WS (64bit) in an attempt to consolidate stuff in one server. I'm using the
4.2 version with the all-in-one patch.

Hobbit is the first application to migrate and reside on the new server.
However, I have problems with bbtest-net. If it runs on the hobbitlaunch.cfg
by default, every "conn" column fails. So I tried running "bbcmd bbtest-net
--debug --report --dns=ip --concurrency=20" to check the hosts. After that
command completes, the "conn" column goes back to green.

So what I did was to create a shell script bbtest-net.sh in the "ext"
directory and substituted that to the bbtest-net CMD line in
hobbitlaunch.cfg. I'm not sure how to explain it since the bbtest-net
command executes and does not hang, neither does fping. Although this solved
the problem, it still did not explain why. It is strange to see this
happening. 

I'm running iptables on the new host and in the old one as well. Iptables
have the same ruleset on the new server and the old server. Only the "conn"
test displayed this behavior. And the clients can pass data to the hobbit
server just fine. Anyone from the list have the same experience? What was
done to resolve it? Any thoughts?
list Henrik Størner · Wed, 7 Feb 2007 12:21:06 +0100 ·
quoted from Great D Dilla
On Wed, Feb 07, 2007 at 07:06:55PM +0800, Great D Dilla wrote:
Hobbit is the first application to migrate and reside on the new server.
However, I have problems with bbtest-net. If it runs on the hobbitlaunch.cfg
by default, every "conn" column fails. So I tried running "bbcmd bbtest-net
--debug --report --dns=ip --concurrency=20" to check the hosts. After that
command completes, the "conn" column goes back to green.
Did you check the bb-network.log file for any messages ?


Henrik
list Great Dilla · Wed, 7 Feb 2007 21:05:41 +0800 ·
bb-network.log doesn't contain anything. but there are new
ping-stdout.PID and ping-stderr.PID files created in the $BBTMP
folder. they only contain the results of the ping in the form "IP
(response time)".

but when running bbtest-net in hobbitlaunch.cfg, there is a new file
created called frequenttests.$BBLOCATION in $BBTMP and it contains
bbtest-net execute commands. and it explains the failures but not the
exact reasons.

also tried to add --dbghost=hobbit in the hobbitlaunch.cfg. if you
want the resultant file i can send it to you.
quoted from Henrik Størner

On 2/7/07, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:
On Wed, Feb 07, 2007 at 07:06:55PM +0800, Great D Dilla wrote:
Hobbit is the first application to migrate and reside on the new server.
However, I have problems with bbtest-net. If it runs on the hobbitlaunch.cfg
by default, every "conn" column fails. So I tried running "bbcmd bbtest-net
--debug --report --dns=ip --concurrency=20" to check the hosts. After that
command completes, the "conn" column goes back to green.
Did you check the bb-network.log file for any messages ?


Henrik