Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Are there any (not a resource hog) solutions to have statistics about the traffic on an OpenWrt router? :O e.g.: traffic per IP address, monthly statistics, etc. :O

share|improve this question

2 Answers 2

up vote 2 down vote accepted

To monitor traffic and other information about my OpenWrt router I use munin. I detail my experience in my posting on Monitoring with Munin. It doesn't specifically address traffic by IP address, which a tool like ntop might be better suited for.

The firewall can be configured to gather such accounting data, but you would need to extract and summarize it. I use shorewall-lite to build my firewall rules. I haven't posted on my experiences yet.

share|improve this answer
That's highly specific to publicly reachable web sites. –  Gilles Jun 19 '11 at 16:31
@Gilles: Log analyzers are not at all specific to publicly reachable web sites. Google Analytics may be somewhat specific to publicly accessible web sites as it does require access to the google servers. I am not aware of anything in Analytics that requires public access to the site. –  BillThor Jun 19 '11 at 16:38
Sorry, I should have written: this is highly specific to web sites, the first to publicly reachable web sites. What about non-web traffic? And why would a router have access to web server logs anyway? Even considering the lack of details in the question, I don't see how your answer is relevant. –  Gilles Jun 19 '11 at 16:46
@Gilles: I recognized my error and have updated my answer accordingly. –  BillThor Jun 19 '11 at 16:49

Traffic reporting on OpenWRT is not much different than on other Linux platforms. You can use a shell to look at the interface statistics or use one of the several reporting / monitoring packages.

Personally I use collected to gather some data from my OpenWRT routers and build graphs on another machine along with some other relevant data.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.