From: Stef Coene Date: Fri, 23 Jul 2004 17:45:51 +0000 Subject: Re: [LARTC] tc+mrtg Message-Id: <200407231945.51807.stef.coene@docum.org> List-Id: References: <014901c46d7d$0e58d9a0$15a02bca@gsd03> In-Reply-To: <014901c46d7d$0e58d9a0$15a02bca@gsd03> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org On Tuesday 20 July 2004 07:43, Kristiadi Himawan wrote: > I already use external script that fetch iptables mangle table from > PREROUTING and POSTROUTING counter. > But the traffic isn't really accurate, i found when there's bulk UDP > traffic come to the shaper, my mrtg shown that > the traffic shown bigger than allocated bandwidth for that class. So the > question, it's possible to make script from tc command, > that count bandwith acctually passing through the shaper. You can patch snmp so you can get the tc counters and process them in a cus= tom=20 script or use mrtg: http://www.docum.org/docum.org/tc-snmp/ Stef --=20 stef.coene@docum.org =A0"Using Linux as bandwidth manager" =A0 =A0 =A0http://www.docum.org/ _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/