27 May
2018
27 May
'18
6:10 p.m.
I wrote a quick python script. cmd = "{BB} {BBDISP} \"status {NODE}.MemoryUtilization {COLOR} str({NOW}) {MSG} \"".format( BB = os.environ["BB"], BBDISP = os.environ["BBDISP"], NOW = datetime.datetime.now(), COLOR="green", MSG="Widgets loaded successfully.", NODE="server01") I ran /usr/lib/xymon/server/bin/bbcmd so I can get to the xymon shell, I was able to verify that the BB environmental variables were there. When I ran the script, it didn't error but it didn't populate the nongreen.html as expected when a new test is executed. Any help will be appreciated.