Xymon Mailing List Archive search

Python and hobbit variables

list Larry Barber
Wed, 28 May 2008 09:50:55 -0500
Message-Id: <user-e5556b95cc22@xymon.invalid>

If you run your scripts using bbcmd these variable will be in the
environment and can be accessed using os.getenv().

Thanks,
Larry

On Wed, May 28, 2008 at 7:50 AM, Wayne Gemmell <user-7a761fbb908f@xymon.invalid>
wrote:
Hi all

I'm re-writing my custom scripts in python. Is there any way to access the
$BBDISP, $MACHINE , $BBHOME , etc variables from Python?

--
Regards
Wayne