BB environment variables
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