[afnog] Agregate traffic using MRTG

Frank Habicht geier at geier.ne.tz
Fri Mar 6 07:56:11 UTC 2009


On 03/06/09 10:14, Hyeroba Peter wrote:
> Hi,
> I'm trying to aggregate traffic on an HP pro-curve switch. What I mean
> by aggregate is to have all traffic from all ports of the switch show up
> on one graph. 
> Any body done this without having to login and create a vlan?
> 
> Kind Regards 

I have something like this towards the end of my mrtg.cfg

Target[tix_agg_traffic]: 1:community at switch.tix.or.tz + 
9:community at switch.tix.or.tz + 17:community at switch.tix.or.tz + 
18:community at switch.tix.or.tz + 19:community at switch.tix.or.tz + 
20:community at switch.tix.or.tz + 21:community at switch.tix.or.tz + 
22:community at switch.tix.or.tz + 23:community at switch.tix.or.tz + 
24:community at switch.tix.or.tz + 25:community at switch.tix.or.tz + 
26:community at switch.tix.or.tz + 27:community at switch.tix.or.tz + 
28:community at switch.tix.or.tz + 29:community at switch.tix.or.tz + 
30:community at switch.tix.or.tz + 31:community at switch.tix.or.tz + 
32:community at switch.tix.or.tz + 33:community at switch.tix.or.tz + 
34:community at switch.tix.or.tz + 35:community at switch.tix.or.tz + 
36:community at switch.tix.or.tz + 37:community at switch.tix.or.tz + 
38:community at switch.tix.or.tz + 39:community at switch.tix.or.tz + 
40:community at switch.tix.or.tz:
Title[tix_agg_traffic]: Total TIX traffic
MaxBytes[tix_agg_traffic]: 100000000000

that was 3 lines ! remove the linebreaks. and adjust portnumbers, 
community, hostname
and s/tix/uixp/g     ;-)


list all the ports used and likely to be used....

Frank



More information about the afnog mailing list