[mrtg] Re: Thresholds ThreshDesc Keyword Question

Håkan hakan at staff.spray.se
Fri Apr 25 03:49:59 MEST 2003


On Thu, 24 Apr 2003, Kerry Werry wrote:

> I am running MRTG under Win2K with RRDtool and have thresholds working
> well but in an attempt to make the e-mail more user friendly I have
> tried to implement the ThreshDesc keyword in some config files.

I am not familiar with the Win platform, but I assume it is the same if
you use PERL...

> It is not working... the manual says it writes to the environmental
> variable THRESH_DESC, my problem is I do not know how to pass this to
> the external script that sends mail, I see no way to pass it to the
> threshdata.pl scripts I am using I assume I am missing something basic
> here??? Is there some way to do this via the SetEnv Keyword??

This is how I access the environmental variable THRESH_DESC from a PERL
script of mine:

$message .= $ENV{THRESH_DESC};

If you want more info, reply in private.

/H

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list