[mrtg] Please help, using the SetEnv[...] variables in .cfg file
Tim Sheets
TSheets at Illinois.net
Tue May 15 16:43:38 MEST 2001
Hello everyone.
According to the docs, you can use the SetEnv[...]: line to set variables
that can be used when calling external programs.
What I would like to know, is if/how you can reference those within the .cfg
file as well as pass them to an external file.
if I have a line such as SetEnv[some_stuff]: blah...blah...
myVariable="testVar"
is there a way to specify a line like:
Colours[testVar]: RED#FF0000,ORANGE#FFFF00,BLUE#0000FF,GREEN#00FFFF
and have the [testVar] translated to what I set on the SetEnv line?
I tried simple adding just that, preceeding with % and enclosing in
%testVar%.
Any thoughts??
Thanks for any help
Tim Sheets
tsheets at illinois.net
--
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