Skip to content

Commit 9c75e12

Browse files
committed
Add date changes
1 parent 1bf7bb0 commit 9c75e12

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

mysql_zbx_part.pl

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@
1111
my $db_schema = 'zabbix';
1212
my $dsn = 'DBI:mysql:'.$db_schema.':mysql_socket=/var/lib/mysql/mysql.sock';
1313
my $db_user_name = 'zabbix';
14-
my $db_password = 'zabbix';
15-
my $tables = { 'history' => { 'period' => 'day', 'keep_history' => '30'},
16-
'history_log' => { 'period' => 'day', 'keep_history' => '30'},
17-
'history_str' => { 'period' => 'day', 'keep_history' => '30'},
18-
'history_text' => { 'period' => 'day', 'keep_history' => '30'},
19-
'history_uint' => { 'period' => 'day', 'keep_history' => '30'},
20-
'trends' => { 'period' => 'month', 'keep_history' => '2'},
21-
'trends_uint' => { 'period' => 'month', 'keep_history' => '2'},
14+
my $db_password = 'password';
15+
my $tables = { 'history' => { 'period' => 'day', 'keep_history' => '60'},
16+
'history_log' => { 'period' => 'day', 'keep_history' => '60'},
17+
'history_str' => { 'period' => 'day', 'keep_history' => '60'},
18+
'history_text' => { 'period' => 'day', 'keep_history' => '60'},
19+
'history_uint' => { 'period' => 'day', 'keep_history' => '60'},
20+
'trends' => { 'period' => 'month', 'keep_history' => '12'},
21+
'trends_uint' => { 'period' => 'month', 'keep_history' => '12'},
2222

2323
# comment next 5 lines if you partition zabbix database starting from 2.2
2424
# they usually used for zabbix database before 2.2

0 commit comments

Comments
 (0)