|
||||||||
I understand that there is SNMP and MTRG (+ variants) to graph the Interface stats... in fact, I am using it right now. But SNMP and MTRG on m0n0 or ifconfig does not really tell how many bytes has pass through a interface over a period of time weekly, daily, etc. It only shows bandwidth utilisation. (or have I missed something?) I am also aware that to hack vnstat/m0n0 to keep historic data maybe bit of a problem. Probably in the same boat as those commercial dsl router IP accounting, reset and IP accounting disappear. We can live that (?) It would be nice to see how many bytes has passed through a interface, like WAN... just to seek an extra eye on it - like, to make sure the ISP is telling the truth on download quota. :) Even though the official m0n0 release does not have shell access, there is a reported hack in vnstat forum to use a simple php script to grab vnstats and display it on m0n0. Sure graph with vnstat may look a bit 'cheesy', but we can ditch it, and just use the IP accounting feature. Just for stats, I have vnstat on a Linux box for ~2months and has collected approx. 1TB of data, the database is approx. 2.7KB. Also, on another Linux box, which has accounted approx. 1GB, its database is approx. 2.6KB. sigterm. Did you get vnstat compiled and working on m0n0? Chris Buechler wrote: > On Fri, 05 Nov 2004 16:57:39 +0100, M. G. (Michael) de Bruin > <mg dot debruin at buum dot nl> wrote: > >>Aaron Wong wrote: >> >> >> >>>Hi. >>> >>>"vnStat is a network traffic monitor for Linux that keeps a log of daily >>>network traffic for the selected interface(s)." >>> >>>Apparenlty, someone has got it working on BSD, see >>>http://forums.humdi.net/viewtopic.php?t=267 >>> >>>Would someone try compling it for m0n0 and possibly intergrate it for >>>future release. >>> >>>See http://humdi.net/vnstat/ for more info. and screen dumps. >> >> >>I agree this utility looks pretty cool, but I kind of miss the point why >>this would be usefull for m0n0wall: there is no such thing as a console. >>Besides, you have a way cooler program to graph traffic, with snmp, >>called mrtg. Check out http://people.ee.ethz.ch/~oetiker/webtools/mrtg/ >>and be astonished :). >> > > > mrtg (or check out ifgraph, a much nicer similar utility, documented > in the m0n0wall users guide) isn't in the same category as this > vnstat. Yeah, it does make cheesy text graphs, but that's likely the > least of people's interest in this. > > The problem with wanting any utility like this on m0n0wall is that > it'll lose all historical info at reboot because of the way the system > is designed. It'd require some major changes in the way the system > works, that we won't see happen, to maintain historical data like > that. m0n0wall even loses its DHCP leases file at reboot for this > same reason. > > -Chris > > --------------------------------------------------------------------- > To unsubscribe, e-mail: m0n0wall dash unsubscribe at lists dot m0n0 dot ch > For additional commands, e-mail: m0n0wall dash help at lists dot m0n0 dot ch > > > |