[hobbit] Hobbit Environment variables
Henrik Størner
henrik at hswn.dk
Sun Feb 15 08:28:46 CET 2009
On Sat, Feb 14, 2009 at 10:33:25PM -0800, David Masterson (damaster) wrote:
> Throughout the Xymon 4.2.2 documentation, I've been seeing mention of
> various environment variables (BB, BBCMD, etc.), but I haven't seen
> anything that set them up. I've been assuming that this was just
> documentation shorthand to tell the reader "use the 'bb' command here",
> but now I wonder if that is correct. Is the a script that I should be
> sourcing in my (or xymon) login scripts to get the proper defintions of
> these environment variables?
They are defined in hobbitserver.cfg . The recommended way of getting
them setup for your scripts is to either run the scripts via
hobbitlaunch, or via the 'bbcmd' utility:
bbcmd /usr/local/bin/myscript
Regards,
Henrik
More information about the Xymon
mailing list