[mrtg] Re: mrtg-rrd.cgi - Multiple Config Files
Matt Zufelt
mzufelt at suu.edu
Mon Jan 3 17:54:13 MET 2005
Eric,
All you need to do is separate the entries with white space. Here's an example:
BEGIN { @config_files = qw(/mrtg/bin/cfg/mrtg1.cfg /mrtg/bin/cfg/mrtg2.cfg
/mrtg/bin/cfg/mrtg3.cfg /mrtg/bin/cfg/mrtg4.cfg
/mrtg/bin/cfg/mrtg5.cfg /mrtg/bin/cfg/mrtg6.cfg );}
Afer all the config filenames are entered, close things out with the closing parenthesis, semi-colon, and closing brace.
Matt Zufelt
>>> Eric Brander <eric_mailing_list at rednarb.com> 1/3/2005 9:38 AM >>>
All,
I'm trying to use mrtg-rrd.cgi with multiple config files. According to
the limited documentation on this script that is something that can be
done. I can't figure out the syntax for adding multiple configs to this
line:
BEGIN { @config_files = qw(/mrtg/bin/cfg/mrtg.cfg); }
This works fine for the single config, but I'm not sure how to format
that line for more than one config file. Is there anyone familiar with
this script that can tell me how I should separate the config paths on
that line? It actually looks like Perl so maybe its using a standard
method that you may be familiar with.
aTdHvAaNnKcSe!
Eric Brander
--
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