[mrtg] Scaled and Unscaled Graphs from One Data Source
Chuck.Coker at rcc.edu
Chuck.Coker at rcc.edu
Thu May 12 17:47:56 MEST 2005
I haven't been able to find any information on making two graphs -- one
scaled and one unscaled -- from a single data source. Most of the time
the scaled graph is what is wanted; we want to see what's going on with
low switch usage instead of seeing a single line at the bottom of the
graph. However, an unscaled version is desired when we want to see how
much of the total bandwidth is being used; in this case, a single line
at the bottom of the graph is what we would want to see.
The code snippet below shows how I am currently making two graphs. I'm
thinking there should be a better way than treating a single data source
as two different data sources, creating two RRD files, and polling the
device twice each time.
Thanks,
Chuck Coker
----------------------------------------------------------------
### Interface 1 >> Descr: 'Serial0/0' | Name: 'Se0/0' | Ip:
192.168.xxx.2' | Eth: '' ###
Target[192.168.xxx.1_Se0_0]: #Se0/0:community at 192.168.xxx.1:
SetEnv[192.168.xxx.1_Se0_0]: MRTG_INT_IP="192.168.xxx.2"
MRTG_INT_DESCR="Serial 0/0 (Scaled)"
MaxBytes[192.168.xxx.1_Se0_0]: 193000
AbsMax[192.168.xxx.1_Se0_0]: 193000
Title[192.168.xxx.1_Se0_0]: MECBDF RT1 Serial 0/0 (Scaled) T1 Line to
CITY
Unscaled[192.168.xxx.1_Se0_0]: n
PageTop[192.168.xxx.1_Se0_0]: <H1>MECBDF RT1 Serial 0/0 (Scaled) T1 Line
to CITY</H1>
<TABLE>
<TR><TD>System:</TD> <TD>MECBDF-RT1 in March Education
Center</TD></TR>
<TR><TD>Maintainer:</TD> <TD>Network Support 222-8887</TD></TR>
<TR><TD>Description:</TD><TD>Serial 0/0 (Scaled) T1 Line to CITY
</TD></TR>
<TR><TD>ifType:</TD> <TD>propPointToPointSerial (22)</TD></TR>
<TR><TD>ifName:</TD> <TD>Se0/0</TD></TR>
<TR><TD>Max Speed:</TD> <TD>193.0 kBytes/s</TD></TR>
<TR><TD>Ip:</TD> <TD>192.168.xxx.2 ()</TD></TR>
</TABLE>
Target[192.168.xxx.1_Se0_0_a]: #Se0/0: community at 192.168.xxx.1:
SetEnv[192.168.xxx.1_Se0_0_a]: MRTG_INT_IP="192.168.xxx.2"
MRTG_INT_DESCR="Serial 0/0 (Unscaled)"
MaxBytes[192.168.xxx.1_Se0_0_a]: 193000
AbsMax[192.168.xxx.1_Se0_0_a]: 193000
Title[192.168.xxx.1_Se0_0_a]: MECBDF RT1 Serial 0/0 A (Unscaled) T1 Line
to CITY
Unscaled[192.168.xxx.1_Se0_0_a]: ymwd
PageTop[192.168.xxx.1_Se0_0_a]: <H1>MECBDF RT1 Serial 0/0 A (Unscaled)
T1 Line to CITY</H1>
<TABLE>
<TR><TD>System:</TD> <TD>MECBDF-RT1 in March Education
Center</TD></TR>
<TR><TD>Maintainer:</TD> <TD>Network Support 222-8887</TD></TR>
<TR><TD>Description:</TD><TD>Serial 0/0 A (Unscaled) T1 Line to
CITY</TD></TR>
<TR><TD>ifType:</TD> <TD>propPointToPointSerial (22)</TD></TR>
<TR><TD>ifName:</TD> <TD>Se0/0</TD></TR>
<TR><TD>Max Speed:</TD> <TD>193.0 kBytes/s</TD></TR>
<TR><TD>Ip:</TD> <TD>192.168.xxx.2 ()</TD></TR>
</TABLE>
----------------------------------------------------------------
Chuck Coker chuck.coker (et) rcc.edu
Riverside Community College, Information Services
4800 Magnolia Avenue, Riverside, California 92506, United States
+1 951 222 8759 (desk) +1 951 830 8068 (cell)
----------------------------------------------------------------
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://lists.ee.ethz.ch/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
More information about the mrtg
mailing list