Xymon Mailing List Archive search

BB environment variables

list Henrik Størner
Tue, 7 Oct 2008 05:34:31 +0000 (UTC)
Message-Id: <gcesd7$kv2$user-e356fad9864f@xymon.invalid>

In <user-43bb833ec55d@xymon.invalid> user-68c969ba1bfa@xymon.invalid (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