Internet connection traffic accounting
iograph is a small programm which counts network traffic passing through a network interface and creates html pages with small bar graphs. Traffic is aggregated on a hourly, daily and monthly basis.
It is written entirely in C without the need for an external scripting language or libraries. Therefore it ideal for small embedded installations like firewalls. Currently only FreeBSD is supported, but the machine depended parts could easily be modified for other systems.
Features:
- Collect network counters for a single local interface (but it can be run multiple times with different settings).
- Stores data in one small (1K) binary data file.
- Supports interfaces up to 16 Mbps.
- Creates static HTML pages (no CGI) with valid HTML 4.01 code.
- Runs from cron (no daemon).
- BSD licenced
- Works on FreeBSD 6.x and newer
Note: The program internally uses 64 bit counters, but FreeBSD currently exports only 32 bit network interface counters. The program detects if a counter wraps. But if it wraps twice within one hour, it cannot detect this.
iograph is based on IOG - the Input / Output Grapher. Unlike IOG my program is written in C (does not need Perl) and does not use SNMP.
Download
Installation
On FreeBSD iograph can be installed from the ports (sysutils/iograph).
Help
If you need help, found a bug, made a change you think its worth including in iograph, and everything else please visit the tracker on Sourceforge and create a new ticket.
Screenshots
Statistic for a single day.
Statistic for one month (several day).
Statistic for all months.