Hello everyone! I tried making partitions using this instruction: (Partitioning a Zabbix MySQL(8) database with Perl or Stored Procedures - Zabbix Blog) because I am having issues with database query failed (found the error from logs).
After manually partitioning it (up to Feb 29, 2024). Data started showing in Zabbix GUI (the graph are now showing).
I planned to use crontab and perl for automatic partitining but encountered problem running the command: perl /usr/share/zabbix/mysql_zbx_part.pl
This is the error that I get:
Here's the script I used: zabbix-mysql-partitioning-perl/mysql_zbx_part.pl at main · OpensourceICTSolutions/zabbix-mysql-partitioning-perl · GitHub
I did not alter any scripts after line 32 (just copied and paste them)
I use MariaDB 10.5.23 and Zabbix 6.0.25
Did anyone encountered error like this? hope you can help me.. I'm not much a programmer so I am not sure what's the problem when looking at the perl script file.
Thank you!!
After manually partitioning it (up to Feb 29, 2024). Data started showing in Zabbix GUI (the graph are now showing).
I planned to use crontab and perl for automatic partitining but encountered problem running the command: perl /usr/share/zabbix/mysql_zbx_part.pl
This is the error that I get:
Code:
$ perl /usr/share/zabbix/mysql_zbx_part.pl DBD::mysql::db do failed: VALUES LESS THAN value must be strictly increasing for each partition at /usr/share/zabbix/mysql_zbx_part.pl line 126. DBD::mysql::db do failed: VALUES LESS THAN value must be strictly increasing for each partition at /usr/share/zabbix/mysql_zbx_part.pl line 126.
Here's the script I used: zabbix-mysql-partitioning-perl/mysql_zbx_part.pl at main · OpensourceICTSolutions/zabbix-mysql-partitioning-perl · GitHub
I did not alter any scripts after line 32 (just copied and paste them)
I use MariaDB 10.5.23 and Zabbix 6.0.25
Did anyone encountered error like this? hope you can help me.. I'm not much a programmer so I am not sure what's the problem when looking at the perl script file.
Thank you!!

Comment