Xymon Mailing List Archive search

List of Variables passed to Scripts

list Geoff Hallford
Mon, 19 Mar 2007 16:31:55 -0400
Message-Id: <user-411f5ade29e5@xymon.invalid>

Forgot about env. That works perfectly to get the info I need.

Thanks.


On 3/19/07, Ralph Mitchell <user-00a5e44c48c0@xymon.invalid> wrote:
On 3/19/07, Geoff Hallford <user-dc9e7f30b1e2@xymon.invalid> wrote:
Hi Tom,

Thanks I know about this list but it doesn't provide all variables
passed to
the scripts. When I wanted to find out a couple months ago, how to
include
the DESCR tag (from bb-hosts) in my script, Henrik told me I could use
the
$BBH_DESCRIPTION variable and it does work and is passed to the script.
This
variable is not included in the list in hobbit-alerts.cfg man page. I am
just wondering if there are more variables not listed in there, that are
passed because I have alerts for 8 organizations on my server and about
700
servers/devices, so I would like to be more descriptive if possible in
my
alerting.
Did you try putting something like:

  env > /tmp/alert.env

into the alert script??  It should tell you *everything* that gets
passed in the environment.

Ralph Mitchell