Skip to content

Commit faba97a

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

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

README.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,30 @@ Then add a cronjob with:
2222
crontab -e
2323
```
2424

25-
Last, add the following line:
25+
Add the following line:
2626
```
2727
0 23 * * * /usr/share/zabbix/mysql_zbx_part.pl >/dev/null 2>&1
2828
```
29+
30+
We also need to install some Perl dependencies with:
31+
32+
```
33+
yum install perl-DateTime perl-Sys-Syslog
34+
35+
```
36+
37+
or on Debian based systems
38+
```
39+
apt-get install libdatetime-perl liblogger-syslog-perl
40+
```
41+
42+
43+
That's it! You are now done and you have setup MySQL partitioing. We could execute the script manually with:
44+
```
45+
perl /usr/share/zabbix/mysql_zbx_part.pl
46+
```
47+
48+
Then we can check and see if it worked with:
49+
```
50+
journalctl -t mysql_zbx_part
51+
```

0 commit comments

Comments
 (0)