Xymon Mailing List Archive search

python variables in Xymon

list Jeremy Laidman
Tue, 25 Aug 2015 08:28:52 +1000
Message-Id: <CAAnki7AtHbUkNC=LrAv-CwocofiKH0NZCJ=user-336aae66aa13@xymon.invalid>

On 24 August 2015 at 11:59, Alvarez Aguilar José Trinidad <user-8d67eaf69650@xymon.invalid
wrote:
     os.environ command = ['BB'] + "" + os.environ ['BBDISP'] + "\"
status "+ os.environ ['MACHINE'] +." interface "+" "+ COLOR +" "+ TIME +
pStatus + '"'
This is not the same as in the script you posted.  You have /os.environ
command = ['BB']/ instead of /command = os.environ['BB']/ and you have /+."
interface "/ instead of /+".interface"/.  Could this be why it doesn't work?

Generates output information but only in the log file defined in the
configuration file: clientlaunch.cfg
Can you show the output from the logfile?

Have you tried running the script with "--debug"?

Cheers
Jeremy