Xymon Mailing List Archive search

how to view xymon variables?

list Deepak Deore
Fri, 31 May 2013 15:20:28 +0530
Message-Id: <user-ababd2b2da08@xymon.invalid>

So, do you mean to say that these variables which I listed are only
available during alerts ?
Can I echo these variables in any of my custom script?

eg. put "echo $BBALPHAMSG > some_file" in my custom script?


On Fri, May 31, 2013 at 1:15 PM, Jeremy Laidman <user-71895fb2e44c@xymon.invalid>wrote:
On 31 May 2013 14:45, deepak deore <user-7b03b2a1ee70@xymon.invalid> wrote:
how can I view the below variables?


 BBCOLORLEVEL
If you run bbcmd on its own, it will set all of the variables for you and
run a sub-shell.  Try this:

$ /usr/lib/xymon/client/bin/xymoncmd
$ set | grep BB
$ set | grep XYMON
$ exit

The variables you listed all appear to be for an alert script.  These are
all set by the xymond_alert program, for scripts that it runs, and these
variables won't be defined outside of that context.

If you want to test an alert script, you might need to setup a dummy alert
in alerts.cfg.

J