[hobbit] BB environment variables

Henrik Stoerner henrik at hswn.dk
Tue Oct 7 07:34:31 CEST 2008


In <48EA3536.9090302 at shadowsoft.com> jon at shadowsoft.com (Jon Boede) writes:

>What's a good way to get all the BB environment variables set up when I 
>want to use them in a script that's not launched from hobbitd?

Put "bbcmd" in front of your command. I.e. run

   bbcmd /home/jon/myscript.sh

Forget everything about using "bbdef.sh" (that's for Big Brother), or
source'ing hobbitserver.cfg directly - bbcmd is *the* way to have the
Hobbit environment available.


Henrik




More information about the Xymon mailing list