[Xymon] python variables in Xymon

Jeremy Laidman jlaidman at rebel-it.com.au
Tue Aug 25 00:28:52 CEST 2015


On 24 August 2015 at 11:59, Alvarez Aguilar José Trinidad <AAJOSE at telmex.com
> 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

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20150825/1f0f20ee/attachment.html>


More information about the Xymon mailing list