[all] # Options for access to the database. db_name = trafstat db_user = root #db_pass = 123456 [trafsave.pl] # Delay before loading data (sec.). trafsave_delay = 3 [trafcron.pl] # Offset time of writing data to the database (min.). trafcron_time_offset = -2 [trafserve.pl] # File to save the service information. trafserve_file_status = /var/spool/trafstat/serve/status # Days, and then perform optimization an archive table 'traffic_YEAR'. trafserve_archive_table = 30 # Days, after which perform optimization table 'traffic_cur'. trafserve_table_traffic_cur = 10 # Days, after which perform optimization table 'list_traffic'. trafserve_table_list_traffic = 400 # Days, after which perform optimization table 'proto'. trafserve_table_proto = 1000 # Days, after which perform optimization table 'users'. trafserve_table_users = 150 # Days, after which perform optimization table 'groups'. trafserve_table_groups = 150 # Days, after which perform optimization table 'privileges'. trafserve_table_privileges = 1000 # Days, after which perform optimization table 'config'. trafserve_table_config = 60