bbtest-net can't ping when run from hobbitlaunch.cfg

Frédéric Mangeant frederic.mangeant at steria.com
Fri Sep 14 13:54:18 CEST 2007


Hi all

on a new Hobbit server (running CentOS 5.0 w/ Hobbit 4.2.0 + allinone 
patch), ping tests always fail when run from hobbitlaunch.cfg, but they 
do work when run by hand...
SSH, HTTP tests work as expected, and this problem occurs whether I use 
"sudo fping" or "hobbitping".

Here's the entry I'm using in hobbitlaunch.cfg :

[bbnet]
        ENVFILE /home/hobbituser/server/etc/hobbitserver.cfg
        CMD bbtest-net --report --debug --ping --sslwarn=60 
--sslalarm=30 --concurrency=25 --dns=ip
        LOGFILE $BBSERVERLOGS/bb-network.log
        INTERVAL 5m

/var/log/hobbit/bb-network.log returns the following :

[...]
Command: bbtest-net '--report' '--debug' '--ping' '--sslwarn=60' 
'--sslalarm=30' '--concurrency=25' '--dns=ip'
[...]
2007-09-14 15:54:42 Adding to combo msg: status lxtrapubr3.conn red <!-- 
[flags:ordAstLe] --> Fri Sep 14 15:54:31 2007 conn NOT ok
2007-09-14 15:54:42 Adding to combo msg: status lxtrapubr2.conn red <!-- 
[flags:ordAstLe] --> Fri Sep 14 15:54:31 2007 conn NOT ok
2007-09-14 15:54:42 Adding to combo msg: status lxtrapubr1.conn red <!-- 
[flags:ordAstLe] --> Fri Sep 14 15:54:31 2007 conn NOT ok
2007-09-14 15:54:42 Adding to combo msg: status lxtrapubp3.conn red <!-- 
[flags:ordAstLe] --> Fri Sep 14 15:54:31 2007 conn NOT ok
2007-09-14 15:54:42 Adding to combo msg: status lxtrapubp2.conn red <!-- 
[flags:ordAstLe] --> Fri Sep 14 15:54:31 2007 conn NOT ok
2007-09-14 15:54:42 Adding to combo msg: status lxtrapubp1.conn red <!-- 
[flags:ordAstLe] --> Fri Sep 14 15:54:31 2007 conn NOT ok

When  run by hand, the test succeeds :

[...]
Command: bbtest-net '--report' '--ping' '--sslwarn=60' '--sslalarm=30' 
'--concurrency=25' '--dns=ip' 'lxtrapubr1' '--debug'
[...]
2007-09-14 15:53:07 Opening file /home/hobbituser/server/etc/bb-hosts
2007-09-14 15:53:07 Adding tcp test IP=10.156.210.37, port=22, 
service=ssh, silent=0
2007-09-14 15:53:07 About to do 1 TCP tests running 15 in parallel
2007-09-14 15:53:07 1 tests pending - 1 active tests
2007-09-14 15:53:07 Doing select
2007-09-14 15:53:07 select returned 1
2007-09-14 15:53:07 1 tests pending - 1 active tests
2007-09-14 15:53:07 Doing select
2007-09-14 15:53:07 select returned 1
2007-09-14 15:53:07 read 23 bytes from socket
2007-09-14 15:53:07 TCP tests completed normally
2007-09-14 15:53:07 Sending results for service conn
2007-09-14 15:53:07 Adding to combo msg: status lxtrapubr1.conn green 
<!-- [flags:OrdAstLe] --> Fri Sep 14 15:53:07 2007 conn ok
2007-09-14 15:53:07 Flushing combo message
      status lxtrapubr1.conn green <!-- [flags:OrdAstLe] --> Fri Sep 14 
15:53:07 2007 conn ok

Thanks in advance for any clue...

-- 

Frédéric Mangeant

Steria EDC Sophia Antipolis






More information about the Xymon mailing list