[mrtg] How can I display scaled and unscaled graphs at the same time in the summary view?

Chuck.Coker at rcc.edu Chuck.Coker at rcc.edu
Fri Jul 22 17:03:39 MEST 2005


Hi Folks,

On the summary page, I need to display both scaled and unscaled graphs
of the interfaces.

The only way I have been able to get this to work so far is to do
something like this (copied interface and added "_a" to target name):

Target[11.22.33.44_Fa0_0]: #Fa0/0:community at 11.22.33.44:
SetEnv[11.22.33.44_Fa0_0]: MRTG_INT_IP=""
MRTG_INT_DESCR="FastEthernet0/0 (Scaled)"
MaxBytes[11.22.33.44_Fa0_0]: 12500000
Unscaled[11.22.33.44_Fa0_0]: n
Title[11.22.33.44_Fa0_0]: myrouter-rt1 Fa0/0 (Scaled)
PageTop[11.22.33.44_Fa0_0]: <H1>myrouter-rt1 Fa0/0 (Scaled)</H1>
 ...

Target[11.22.33.44_Fa0_0_a]: #Fa0/0:community at 11.22.33.44:
SetEnv[11.22.33.44_Fa0_0_a]: MRTG_INT_IP=""
MRTG_INT_DESCR="FastEthernet0/0 (Unscaled)"
MaxBytes[11.22.33.44_Fa0_0_a]: 12500000
Unscaled[11.22.33.44_Fa0_0_a]: dwmy
Title[11.22.33.44_Fa0_0_a]: myrouter-rt1 Fa0/0 (Unscaled)
PageTop[11.22.33.44_Fa0_0_a]: <H1>myrouter-rt1 Fa0/0 (Unscaled)</H1>
 ...

There must be a better way to do this. Any ideas or comments?

My system's vital statistics are:
mrtg-2.11.1
FreeBSD 5.3
RRDTool 1.0.49
routers2.cgi 2.15

Thanks,
Chuck Coker

----------------------------------------------------------------
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)
----------------------------------------------------------------
This worked for me. Your mileage may vary.
----------------------------------------------------------------

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