[mrtg] Re: using RRD Tool
rb1 at mogwai.rz.uni-ulm.de
Tue Nov 23 13:21:14 MET 1999
In article <Pine.BSF.3.96.991122161931.29632A-100000 at localhost>,
sugarat at thunderhold.sugarat.net (Tim Kennedy) writes:
> I am using rrdtool-1.0.4, and 14all.cgi v0.9, and the error I get, is
> "Cannot create graph: unknown option '--alt-y-grid'"
rrdtool should know this option since 1.0.2. Please make sure that you
really use 1.0.4.
[Tobi: I thought it's possible to "use RRDs 1.0.4" but I can see no
effect (e.g. with "use RRDs 2.1.2")]
> If I remove that --alt-y-grid option, from the push line in 14all.cgi, I
> nolonger get the error, and I get graphics, though I am not sure if they
> are the proper size.
--alt-y-grid controls only how many horizontal grid lines you have.
> Also, I have 147 router config files, all in /usr/local/MRTG/cfg/.
> Each file is named like router.domain.com.cfg, and the workdir in the
> config file is set to "/var/www/htdocs/sites/domain/" where domain is a
> two-part sitecode.statecode entry. As some of the configs are upwards of
> 100k, i don't want to add everything into one config file, using direcotry
> statements for each individual router, as that would give me a config over
> 1 megabyte in size. (probably not optimal) :)
> Can I use 14all.cgi to read multiple config files and still give me a
> listing? or do I need a seperate 14all.cgi for each of them?
There is a somewhat uncomplete (and undocumented) feature in the actual
14all (0.9) - it supports multiple config files. In fact it supports
giving a config file on the command line, i.e. you can call 14all with
the parameter "cfg=<config file>", e.g.
The config file name can contain a full path and should if the cgi is
not in the workdir (next version will use 'workdir' for the cfg option).
The missing part: You have to create the page with a URL/link for every
config file yourself.
* To unsubscribe from the mrtg mailing list, send a message with the
subject: unsubscribe to mrtg-request at list.ee.ethz.ch
* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg
More information about the mrtg