IPACCO is a free software package that helps a network admin to collect, visualize and analyze IP accounting data from the Cisco routers. Cisco routers themselves are capable of collecting IP accounting information – i.e. an unordered set of IP source-destination pairs along with a byte and packet counters corresponding to all network traffic flows that passed through the router's interfaces. This data can be a useful source for various analysis procedures and billing systems but by itself, in its raw form it is rather difficult to read and understand. In addition, a router cannot keep a lot of data – its memory is needed for purposes other than remembering what traffic, from what sources and where it forwarded two month ago.
In order to extract from IP accounting data something useful, a network admin should unload in some way this data from the router, collect it in some ordered storage and at last have a tool to retrieve from this this storage exactly what he needs. That is where IPACCO can help. It does exactly those things: downloads IP accounting data from the router using a network connection, stores it in the MySQL database and provides Web access to the collected data, presenting it in a convenient graphical form and allows user to specify various criteria for data selection.
IPACCO keeps its data in four sets of database tables. First, it places the data downloaded from the router to the “Day” set of tables. Then, as time go, IPACCO gets data from the “Day” tables, squeezes it summarizing by bigger time periods than it was originally gathered and moves it to the “Week” tables, cutting the data from the oldest readouts. Similarly it moves data from the “Week” tables to the “Month” ones and, finally, from the “Month” to the “Year” tables.
Obviously, the idea is taken from MRTG. This mechanism lets IPACCO database not grow after the initial period of data accumulation and growth is finished.