File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -30,14 +30,14 @@ Or check out our Zabbix book for a detailed description:
3030https://www.amazon.com/Zabbix-Infrastructure-Monitoring-Cookbook-maintaining-dp-1801078327/dp/1801078327
3131
3232
33- Place the script in:
33+ Place the script in (create the folder if it doesn't exist) :
3434```
35- /usr/share /zabbix/
35+ /usr/lib /zabbix/
3636```
3737
3838Then make it executable with:
3939```
40- chmod +x /usr/share /zabbix/mysql_zbx_part.pl
40+ chmod 750 /usr/lib /zabbix/mysql_zbx_part.pl
4141```
4242
4343Now add a cronjob with:
@@ -47,7 +47,7 @@ crontab -e
4747
4848Add the following line:
4949```
50- 55 22 * * * /usr/share /zabbix/mysql_zbx_part.pl >/dev/null 2>&1
50+ 55 22 * * * /usr/lib /zabbix/mysql_zbx_part.pl >/dev/null 2>&1
5151```
5252
5353We also need to install some Perl dependencies with:
@@ -102,7 +102,7 @@ Comment the following line for Zabbix 6.4 and OLDER:
102102
103103That's it! You are now done and you have setup MySQL partitioning. We could execute the script manually with:
104104```
105- perl /usr/share /zabbix/mysql_zbx_part.pl
105+ perl /usr/lib /zabbix/mysql_zbx_part.pl
106106```
107107
108108Then we can check and see if it worked with:
You can’t perform that action at this time.
0 commit comments