[hobbit] List of Variables passed to Scripts

Geoff Hallford geoff.hallford at gmail.com
Mon Mar 19 21:31:55 CET 2007


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

Thanks.


On 3/19/07, Ralph Mitchell <ralphmitchell at gmail.com> wrote:
>
> On 3/19/07, Geoff Hallford <geoff.hallford at gmail.com> 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
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20070319/9fce37c6/attachment.html>


More information about the Xymon mailing list