[mrtg] Path to images in .html-Files

Heinrich Götzger goetzger at gmx.net
Mon Nov 5 19:08:05 MET 2001


Hi MRTG-List,

running mrtg-2.9.10 under SuSE 7.2 gives me some unexpected trouble in the
.html-Files. The path which points to the image-files

<IMG VSPACE=10 WIDTH=500 HEIGHT=135 ALIGN=TOP
     SRC="../server/eth0-day.png" ALT="day">

is relative up'n down, this hasn't been in the version 2.8.12 on SuSE 7.0
it gives me following path:

<IMG VSPACE=10 WIDTH=500 HEIGHT=135 ALIGN=TOP
     SRC="eth0-day.png" ALT="day">

since I'm copying the recording daily to have a detailed recording for
comparing to earlier happenings on my webserver it would be nice for me to
keep the path directly so that I can store all files in a single directory
like 20011105000000 automatically by a cronjob once a day.

my config looks like:

WorkDir: /opt/httpd/WWW/mrtg
Options[_]: bits,growright

#---------eth0-------------------
Target[eth0]:        `/opt/httpd/WWW/mrtg/bin/netstat eth0 eth0`
Directory[eth0]:     server
Options[eth0]:       nopercent,growright,noinfo
MaxBytes[eth0]:      1250000000
Kilo[eth0]:          1024
Ylegend[eth0]:       octets/s
ShortLegend[eth0]:   oct/s
Title[eth0]:         Traffic on www
PageTop[eth0]:       <H1>Traffic on www</H1>
#---------end eth0-------------------

Somehow I'm not getting clear with the man-pages or other help on the
web-site.


best regards and many thanks

Heinrich



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