[hobbit] BB environment variables
Stef Coene
stef.coene at docum.org
Mon Oct 6 19:20:15 CEST 2008
On Monday 06 October 2008, Jon Boede wrote:
> 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?
>
> For example, if I have a script that receives an email and reports a
> status because of it? I know that I could hard-code everything, but
> that's tacky. :-)
server/bin/bbcmd <your script>
And if that gives an error that it can not open a config file, first do
export BBHOME=<server dir>
This also works for the hobbit client.
Stef
More information about the Xymon
mailing list