mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
1622717d49
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. These data can be a useful source for various analysis procedures and billing systems but by itself, in their raw form they are 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. WWW: http://ipacco.sourceforge.net/ - Babak Farrokhi babak@farrokhi.net PR: ports/99451 Submitted by: Babak Farrokhi <babak@farrokhi.net>
21 lines
618 B
Plaintext
21 lines
618 B
Plaintext
|
|
--------------------------------------------------
|
|
|
|
1- Import database schema to your mysql:
|
|
mysql -u root -p < %%DOCSDIR%%%%PORTDOCS%%/CreateDB.sql
|
|
|
|
2- Configure mysql parameters in
|
|
%%PREFIX%%/etc/%%PORTNAME%%/ipacco-datapump.cfg
|
|
and
|
|
%%PREFIX%%/%%IPACCO_WEB%%/SiteDefs.php
|
|
|
|
3- Read the instructions and configure your cisco routers:
|
|
%%DOCSDIR%%/README.txt
|
|
|
|
4- Add datapump agent to your /etc/crontab file:
|
|
*/5 * * * * root %%PREFIX%%/sbin/ipacco-datapump.tcl \
|
|
-c %%PREFIX%%/etc/%%PORTNAME%%/ipacco-datapump.cfg > /dev/null 2>&1
|
|
|
|
--------------------------------------------------
|
|
|