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 <jlaidman at rebel-it.com.au>wrote:
On 31 May 2013 14:45, deepak deore <deepakdeore2004 at gmail.com> 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