Xymon Mailing List Archive search

List of Variables passed to Scripts

list Ralph Mitchell
Mon, 19 Mar 2007 15:09:51 -0500
Message-Id: <user-229d7c0b3ca5@xymon.invalid>

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