Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Rotation parameters
- [MYSQL]
- user = homer
- password = ***********
- host = localhost
- port = 3306
- usesocket = 0
- socket = /var/run/mysqld/mysqld.sock
- db_data = homer_data
- db_stats = homer_statistic
- # Extra param
- newtables = 2 # Create new tables or partitions for next 2 days
- engine = InnoDB #MyISAM or InnoDB
- compress=ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=8
- [DATA_TABLE_ROTATION]
- #how long data keeps
- sip_capture_call = 10 #days
- sip_capture_registration = 10 # 10 days
- sip_capture_rest = 10 # 10 days
- rtcp_capture = 1 # days
- logs_capture = 10 # days
- report_capture = 10 # days
- webrtc_capture_all = 10 # days
- isup_capture_all = 10
- [DATA_TABLE_TYPE_TIMESTAMP]
- #type: sip, isup, webrtc, rtcp
- sip_capture_call = sip
- sip_capture_registration = sip
- sip_capture_rest = sip
- isup_capture_all = isup
- webrtc_capture_all = webrtc
- [DATA_TABLE_STEP]
- # 0 - Day, 1 - Hour, 2 - 30 Minutes, 3 - 15 Minutes
- sip_capture_call = 0
- sip_capture_registration = 0
- sip_capture_rest = 0
- rtcp_capture = 0
- logs_capture = 0
- report_capture = 0
- webrtc_capture_all = 0
- isup_capture_all = 0
- [DROP_OLD_PARTITIONS]
- # Remove partitions older than $seconds
- # Ignored if zero
- sip_capture_call = 0
- sip_capture_registration = 0
- sip_capture_rest = 0
- rtcp_capture = 0
- logs_capture = 0
- report_capture = 0
- isup_capture_all = 0
- webrtc_capture_all = 0
- [STATS_TABLE_ROTATION]
- stats_ip = 20 # days
- stats_geo = 20 # days
- alarm_data = 10 # days
- stats_method = 10 # days
- stats_useragent = 20 # days
- [STATS_TABLE_STEP]
- #0 - Day, 1 - Hour, 2 - 30 Minutes, 3 - 15 Minutes
- stats_ip = 0
- stats_geo = 0
- alarm_data = 0
- stats_method = 0
- stats_useragent = 0
- [SYSTEM]
- debug = 0
- exec = 1
- [MSG_TABLE_SIZE]
- #characters
- sip_capture_call = 1500
- isup_capture_all = 3000
- webrtc_capture_all = 3000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement