[rrd-users] Re: 14all.cfg? Whazzat?

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Wed Jul 17 02:00:41 MEST 2002

John Oliver wrote:

> I created an index page for RRDTool graphs with indexmaker.  The
> resulting page doesn't work... the links to what are supposed to be the
> index graphs are all broken, and the links don't work.  An example:
> </TD><TD><DIV><B>Traffic Analysis for Router10 FastEthernet</B></DIV>
> <DIV><A HREF="/cgi-bin/14all.cgi?log="><IMG BORDER=1
> ALT=" Traffic Graph"
> SRC="/cgi-bin/14all.cgi?log="></A></DIV>

Looking fine ...

> is the code generated for one target.  "&png=day.s&small=1" looks like
> gibbersish to me... :-)

The '&' is a separator between arguments, so is '?'

> SRC="/cgi-bin/14all.cgi?log="></A></DIV>

This means
   get page         /cgi-bin/14all.cgi
   with argument    log=
   and argument     png=day.s
   and argument     small=1

>                          And the A HREF targets result in an error about
> /etc/mrtg/14all.cfg missing.

If you have no 14all.cfg at all: you should have.  If it's in a different
location, you may have to alter the script, move the cfg file or specify
yet another parameter (although I doubt that can be done).

>                               Searching Google and the list archives for
> 14all.cfg resulted in qite a few snippets like:
> ### where the mrtg.cfg file is
> # anywhere in the filespace
> #$cfgfile = '/home/mrtg/mrtg.cfg';
> # relative to the script
> #$cfgfile = 'mrtg.cfg';
> # use this so 14all.cgi gets the cfgfile name from the script name
> # (14all.cgi -> 14all.cfg)
> $cfgfile = '';

If the command isn't called '14all.cgi' but, for instance, myrouter.cgi,
14all will parse the mrtg.cfg file named 'myrouter.cfg'.

> but nothing else.  I don't have one single mrtg.cfg file... I have a
> bunch of 'em.  I can't find any documentation on what "log" is for
> 14all.cgi, and there's certainly no file called "". is a base name.  From this base name all other file
names are generated (basname-day.png, basename-week.png, basename.rrd)

 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
| Technical questions sent directly to me will be nuked. Use the list. | 
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |

Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the rrd-users mailing list