Skip to content

Commit c5478d6

Browse files
committed
Update README.md
1 parent aa394fd commit c5478d6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ Or check out our Zabbix book for a detailed description:
3030
https://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

3838
Then 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

4343
Now add a cronjob with:
@@ -47,7 +47,7 @@ crontab -e
4747

4848
Add 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

5353
We also need to install some Perl dependencies with:
@@ -102,7 +102,7 @@ Comment the following line for Zabbix 6.4 and OLDER:
102102

103103
That'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

108108
Then we can check and see if it worked with:

0 commit comments

Comments
 (0)