[mrtg] Graphing ONLY Total Incoming and Total Outgoing

MMartin at jwpepper.com MMartin at jwpepper.com
Thu Jan 5 21:30:51 CET 2012


All,

Ok well I made a few changes and I'm getting both Totals now (1 for In and 
1 for Out).

I guess the only thing now is to display ONLY those lines, along with 
Average In and Average Out.


Matthew Martin
System Performance
J.W. Pepper & Son, Inc.
2480 Industrial Blvd.
Paoli, PA 19301
610-648-0500 ext. 2233
mmartin at jwpepper.com




From:   <MMartin at jwpepper.com>
To:     <mrtg at lists.oetiker.ch>
Date:   01/05/2012 03:12 PM
Subject:        [mrtg] Graphing ONLY Total Incoming and Total Outgoing
Sent by:        <mrtg-bounces+mmartin=jwpepper.com at lists.oetiker.ch>



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]: &nbsp;IN: 
LegendO[backplane-3A]: OUT:&nbsp; 
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 _______________________________________________
mrtg mailing list
mrtg at lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20120105/231755b1/attachment-0001.htm 


More information about the mrtg mailing list