Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- BB = os.environ["BB"]
- BBDISP = os.environ["BBDISP"]
- NOW = datetime.datetime.now()
- COLOR="green"
- MSG="Widgets loaded successfully."
- NODE="server01"
- retvalue = os.popen("BB BBDISP "status NODE.thisIsATest COLOR str(NOW) MSG "").readlines()
- print retvalue
- sh: 1: BB: not found
- print BB
- /usr/lib/xymon/server/bin/xymon
Add Comment
Please, Sign In to add comment