Guys

Seems to me I can't get the 'aggregate' and 'aggregate_filter'
settings under control.

First, what I'm trying to achieve...

I have a public residential network on which I'd like to do accounting
for each client. The networks are as follows:
- 192.168.244.0/23
- 192.168.246.0/23
- 192.168.248.0/23
- 192.168.250.0/23

I have a ports file with some well known ports that I'd like to
monitor, and the rest as 'unknown'. I need to save stats on each host
individually for reporting purposes.

Here is my configuration, as close to my situation as I can get...

<pmacctd.conf>
!
! auditor pmacctd configuration file
!
interface: rl0
daemonize: true

!
! Capture all traffic
!
aggregate[in]: dst_host
aggregate[out]: src_host
aggregate_filter[in]: dst net 192.168.250.0/23
aggregate_filter[out]: src net 192.168.250.0/23

plugins: mysql[in], mysql[out]

sql_host: stathost
sql_db: statdb
sql_table[in]: acct_in
sql_table[out]: acct_out
sql_table_version: 1
sql_passwd: statpass
sql_user: statuser
sql_refresh_time: 90
sql_history: 10m
sql_history_roundoff: mh

ports_file: /usr/local/ci/ports
</pmacctd.conf>

I get the usage per host, but not per port as I also require.

Any help would be really appreciated.

-- 

Kenneth Kalmer
[EMAIL PROTECTED]

[EMAIL PROTECTED] stats
http://vspx27.stanford.edu/cgi-bin/main.py?qtype=userpage&username=kenneth%2Ekalmer

Reply via email to