[mrtg] Re: how to make a compact daily view of a set of router in terfaces

Enerson, Marty menerso at marketwatch.com
Thu Oct 5 21:40:28 MEST 2000


I don't want to step on Ashley's feet, but Ashley just helped me out with
that same question.  I too liked how the graphs looked on mrtg.yeehaw.net.
Here is what I did to change them  (THANKS again to Ashley)

----->  mrtg.cfg file

(added these lines to the top of the file)
XSize[_]: 360
YSize[_]: 75


----->  index.html file

(changed the corresponding lines to have this info)
border=0 width=460 height=110


Thats it.  I also did a lot of clean up stuff too.

----->  index.html file
(here is an example of one body of the file)

<table border="0" cellpadding="5" cellspacing="0" width=940>
<tr>
<td width="50%" valign="bottom">
<A HREF="192.168.36.1.3-cpu.html"><B>CPU utilization</B></A></A><font
size=1> [192.168.36.1]</font><br>
<A HREF="192.168.36.1.3-cpu.html"><IMG ALT="192.168.36.1.3-cpu Traffic
Graph" border=0 width=460 height=110 SRC="192.168.36.1.3-cpu-
day.png"></A>
</td>
</tr>
<tr>
<td width="50%" valign="bottom">
<A HREF="192.168.36.1.3.html"><B>192.168.13.0 Network</B></A><font size=1>
[Link to PIX]</font><br>
<A HREF="192.168.36.1.3.html"><IMG ALT="192.168.36.1.3 Traffic Graph"
border=0 width=460 height=110 SRC="192.168.36.1.3-day.png"></A
>
</td>
</tr>
</table>



This squeezes all the smaller charts together more.  It looks sweet.

Hope this helps.

Marty



-----Original Message-----
From: wagner at grz.at [mailto:wagner at grz.at]
Sent: Thursday, October 05, 2000 4:05 AM
To: Ashley M. Kirchner
Cc: MRTG Mailing List
Subject: [mrtg] how to make a compact daily view of a set of router
interfaces



Hi Ashley,

Your Demo Website looks very nice (http://mrtg.yeehaw.net/). Since I am no
programmer, I still have only the standard MRTG-view running (under
WinNT/MRTG 2-8-9/Perl).

Can you give me a Perl example on how to make a compact daily view of a set
of
router interfaces like you have done?

Regards,
Chris




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

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