Hi all,
When I config sql_history as 15 seconds , sfacctd daemon print warning message
of this-
>[root@LDeltaR1S9 pmacctd]# sfacctd -f sfacctd_15s.conf
>WARN ( sfacctd_15s.conf ): Ignoring invalid time value: 15 (residual secs
>afters conversion in mins)
>WARN ( default/core ): debug is enabled; forking in background. Console
>logging will get lost.
According to documents the minimum unit of sql_history is ONE SECOND, somehow
the warning message worries me.
Have you any idea?
And paste config file of sfacctd for your reference. I checked it twice.
[root@LDeltaR1S9 pmacctd]# cat sfacctd_15s.conf
!sfacctd.conf
debug: true
daemonize: true
timestamps_secs: true
nfacctd_time_new: true
sfacctd_port: 9999
aggregate:
cos,etype,src_mac,dst_mac,vlan,src_host,dst_host,proto,tos,src_port,dst_port,tcpflags,timestamp_start,timestamp_end,peer_src_ip,
src_host_country, dst_host_country
plugins: pgsql
sql_optimize_clauses : true
sql_db: postgres
sql_table: sf_a4
sql_passwd: pg
sql_user: postgres
sql_dont_try_update: true
sql_history: 15
sql_refresh_time: 15
!ql_history_roundoff: mh
logfile: /var/log/sfacctd.log
geoip_ipv4_file: /usr/share/GeoIP/GeoIP.dat
TC
====================================================================
本信件可能包含工研院機密資訊,非指定之收件者,請勿使用或揭露本信件內容,並請銷毀此信件。
This email may contain confidential information. Please do not use or disclose
it in any way and delete it if you are not the intended recipient.
_______________________________________________
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists