Hobbit Environment variables
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?
David Masterson
Taglocity <http://www.taglocity.com> Tags: Systems, SysMgmt, SystemMonitor, XYmon
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
participants (2)
-
damaster@cisco.com
-
henrik@hswn.dk