[mrtg] Graphing ONLY Total Incoming and Total Outgoing

MMartin at jwpepper.com MMartin at jwpepper.com
Thu Jan 5 21:11:46 CET 2012


Hello All,

I have a cfg file for collecting Traffic data... For every 8 consecutive 
Interfaces there is a User-Defined Graph.
All works well except that for the User-Defined Graphs. I would like to 
graph ONLY the TOTAL Incoming and the TOTAL Outgoing (and maybe avg's 
too).

Currently it graphs all 8 interfaces along with ONLY the Total for the 
Incoming and NOT for the Total Outgoing for some reason (as well as 
Average for Incoming ONLY).

Here is the First Interface target so you can see the 
"routers.cgi*Graph[...]:" options and stuff. All interfaces have the same 
options/directives:

############################### Interface 6: GigabitEthernet3/1 
###############################
Target[backplane-3A]: 6:public at 192.168.1.1:
Title[backplane-3A]: --Traffic Analysis for Bundle-Gi3A On 4507R
Legend1[backplane-3A]: Incoming Traffic
Legend2[backplane-3A]: Outgoing Traffic
LegendI[backplane-3A]:  IN:
LegendO[backplane-3A]: OUT: 
YLegend[backplane-3A]: Traffic in bps
ShortLegend[backplane-3A]: /bps
MaxBytes[backplane-3A]: 125000000
routers.cgi*Options[backplane-3A]: growright,bits,gauge,total
routers.cgi*InMenu[backplane-3A]: no
routers.cgi*InOut[backplane-3A]: no
routers.cgi*Graph[backplane-3A]: Bundle-Gi3A total average
#########################################################################################
--> So there are 7 more interfaces that have the same "routers.cgi*Graph" 
Name (i.e. "Bundle-Gi3A").

I'm a little confused as to why the corresponding User-Defined Graph 
("Bundle-Gi3A") ONLY displays Total for the Incoming and not the Outgoing 
too...?

Also, how do I suppress each individual interface target from graphing a 
line on the User-Defined Graph.?

***Basically the FINAL goal is to have the User-Defined Graph display only 
4 lines:  (see below)
        Line 1.  TOTAL Incoming
        Line 2.  TOTAL Outgoing
        Line 3.  AVERAGE Incoming 
        Line 4.  AVERAGE Outgoing

I thought to use noo and noi somewhere but I didn't want it to not collect 
data for those.
Any thought would be great...

Thanks in Advance,
Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20120105/a0058b82/attachment.htm 


More information about the mrtg mailing list