Xymon Mailing List Archive search

BB environment variables

list Larry Barber
Mon, 6 Oct 2008 11:24:43 -0500
Message-Id: <user-784e02e032d9@xymon.invalid>

Try using $BBHOME/etc/hobbitserver.cfg .

Thanks,
Larry Barber

On Mon, Oct 6, 2008 at 11:18 AM, Jon Boede <user-68c969ba1bfa@xymon.invalid> wrote:
 I don't have a bbdef.sh anywhere under my hobbit ~/server directory... :-(


Smith, Jim wrote:

 *Execute this line at the beginning of your script:*

* *

*.   $BBHOME/etc/bbdef.sh*

* *

*Make sure you have the period<space> at the beginning.*

* *

*Jim Smith*

*SVHS*

* *

* *

*From:* Jon Boede [mailto:user-68c969ba1bfa@xymon.invalid <user-68c969ba1bfa@xymon.invalid>]
*Sent:* Monday, October 06, 2008 10:57 AM
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* [hobbit] BB environment variables


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.
:-)

Thanks,
Jon