[hobbit] network testing tool for single host/service
Frédéric Mangeant
frederic.mangeant at steria.com
Mon Mar 13 09:16:14 CET 2006
Dominique Frise a écrit :
> Hi Henrik,
>
> Using Big Brother for several years, we wrote quite a few custom
> server/side scripts where we used bbnet tool from BB.
> This utility allowed us to test a single host/service pair on the
> command line.
>
> Example:
>
> URL=http://test.example.com
>
> $BBHOME/bin/bbnet $URL > $BBTMP/HTTP_$PROC$$
>
> Your -definitely better- tool bbtest-net is bounded to $BBHOSTS and it
> does not seem possible to test a single host/service like above.
> A hack could be to redefine $BBHOSTS with a single entry before
> calling bbtest-net.
> I there another possibility to to this?
Hi Dominique
you can use this :
$ /BB/hobbit/server/bin/bbcmd bbtest-net hades
2006-03-13 09:13:47 Using default environment file
/BB/hobbit/server/etc/hobbitserver.cfg
All the parameters (like "--debug", to see the results before their
transmission to hobbitd) can be added :
$ /BB/hobbit/server/bin/bbcmd bbtest-net hades --debug
2006-03-13 09:14:46 Using default environment file
/BB/hobbit/server/etc/hobbitserver.cfg
Command: bbtest-net 'hades' '--debug'
Environment BBLOCATION=''
Environment CONNTEST='TRUE'
Environment IPTEST_2_CLEAR_ON_FAILED_CONN='TRUE'
[...]
2006-03-13 09:14:47 Calc content color host hades : 2006-03-13 09:14:47
Flushing combo message
status hades.ssh green <!-- [flags:OrdastILe] --> Mon Mar 13
09:14:46 2006 ssh ok
status hades.ftp green <!-- [flags:OrdastILe] --> Mon Mar 13
09:14:46 2006 ftp ok
status hades.http green Mon Mar 13 09:14:46 2006: OK
Regards,
--
Frédéric Mangeant
Steria EDC Sophia-Antipolis
More information about the Xymon
mailing list