On 06/11/2009 02:10:42 AM, Vitalijus Trainys wrote:
My pmacctd.conf:
daemonize: true
plugins: memory
pidfile: /var/run/pmacctd.pid
aggregate: src_host,dst_host
pcap_filter: net 192.168.5.0/24
interface: eth1
promisc: false
syslog: daemon
logfile: /var/log/pmacct/pmacct.log
Nothing except
===
Because the memory plugin collects data
in-memory. To get the aggregate data out
or reset the totals you run the pmacct command.
If you want data in a log run it in cron and
redirect the output to a file (or use the
logger program or whatever).
Thanks, I understand.