[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Hobbit Environment variables
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Hobbit Environment variables
- From: Henrik Størner <henrik (at) hswn.dk>
- Date: Sun, 15 Feb 2009 08:28:46 +0100
- References: <A7BF24E500F9634797CCEAE25BFFD3A806A17F1D (at) xmb-sjc-232.amer.cisco.com>
- User-agent: Mutt/1.5.18 (2008-05-17)
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