On 27-03-2013 16:20, Bakkies Gatvol wrote:
From: user-66e2e196cd54@xymon.invalid
To: xymon at xymon.com
Date: Wed, 27 Mar 2013 11:03:51 -0400
Subject: [Xymon] list all purples
I use to know how to list all purples with bbgen. I did try and google but had no success. Is there a way to list all purples in xymon?
Ok i found
~/server/bin/xymongen --purplelog=/tmp/PURP
but it gives me this - which may or may not be serious
2013-03-27 11:14:26 xgetenv: Cannot find value for variable XYMONSERVERSECURECGIURL
2013-03-27 11:14:26 xgetenv: Cannot find value for variable XYMONSERVERSECURECGIURL
2013-03-27 11:14:26 xgetenv: Cannot find value for variable XYMONSERVERSECURECGIURL
prefix your command with "xymoncmd" and it will setup all of the config
variables for you. Like
~/server/bin/xymoncmd xymongen --purplelog=/tmp/PURP
Another way of doing what you want to do, is to query xymond:
xymon 127.0.0.1 "xymondboard color=purle fields=hostname,testname"
Regards,
Henrik