Xymon Mailing List Archive search

xymondboard - can I get an exact match? (and writing xymon ACK script and opening tickets)

list Jeremy Laidman
Fri, 16 Nov 2012 12:42:33 +1100
Message-Id: <CAAnki7AVmUW7_5dEpe7FNN=a2QnEB4vmBUp2m=xC=user-f527ef1dcf18@xymon.invalid>

On 16 November 2012 12:01, Tim McCloskey <user-440820cc07d6@xymon.invalid> wrote:
 Top post here :)
2012-11-16 10:25:34 xgetenv: Cannot find value for variable <<<<
...and that's the answer.  The "$" is being interpreted by xymoncmd as part
of a non-existent variable, and so I end up with just "test=s".  I don't
think I can escape the dollar sign in xymoncmd.

It all works as advertised if I simply run the command without xymoncmd
like so:

$ xymon localhost 'xymondboard test=s$ fields=testname'|head
trends
files
msgs
ports
procs
dns
trends
files
msgs
ports

Yay! mystery solved!