python script not populating nongreen.html

usa ims usaims at yahoo.com
Sun May 27 20:10:35 CEST 2018


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20180527/21f7cd9c/attachment.html>


More information about the Xymon mailing list