Xymon Mailing List Archive search

Hobbit Environment variables

2 messages in this thread

list David Masterson Damaster · Sat, 14 Feb 2009 22:33:25 -0800 ·
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
list Henrik Størner · Sun, 15 Feb 2009 08:28:46 +0100 ·
quoted from David Masterson Damaster
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