[mrtg] Re: SetEnv and Perl

Daniel J McDonald dmcdonald at digicontech.com
Thu May 17 17:59:15 MEST 2001


In perl:
my $cfgfile;
$cfgfile = $ENV{mrtgcfg};

In MRTG:
SetEnv[_]: mrtgcfg="/home/httpd/mrtg/thresh.cfg"

Daniel J McDonald - CCIE 2495, CNX
Principal Network Specialist
Digicon Technologies
http://www.digicontech.com
dmcdonald at digicontech.com

Digicon - A Cisco Systems Partner, Silver Certified.


-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch]On
Behalf Of Chee Chew
Sent: Wednesday, May 16, 2001 8:48 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] SetEnv and Perl



How to pass the value of SetEnv into Perl when threshold value triggered so
that the alert will be more informational?
Has anyone tried this before?


--
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


--
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