Re: [pmacct-discussion] Q. Logging via syslog

2009-06-11 Thread Karl O. Pinc


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
=== Start logging: 2009-06-11 09:02:32 ===

OK ( default/core ): link type is: 1


in /var/log/pmacct/pmacct.log


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).

Karl k...@meme.com
Free Software:  You don't pay back, you pay forward.
 -- Robert A. Heinlein

___
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists


Re: [pmacct-discussion] Q. Logging via syslog

2009-06-11 Thread v



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.


___
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists