mirror of
https://github.com/psy0rz/zfs_autobackup.git
synced 2025-04-11 22:40:01 +03:00
Update README.md
This commit is contained in:
parent
02dbdb65c6
commit
eabe8f2139
12
README.md
12
README.md
@ -132,3 +132,15 @@ Method 2: Run the script on the server and push the data to the backup server sp
|
|||||||
All done
|
All done
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Monitoring with Zabbix-jobs
|
||||||
|
===========================
|
||||||
|
|
||||||
|
You can monitor backups by using my zabbix-jobs script. (https://github.com/psy0rz/stuff/tree/master/zabbix-jobs)
|
||||||
|
|
||||||
|
Put this command directly after the zfs_backup command in your cronjob:
|
||||||
|
```
|
||||||
|
zabbix-job-status backup_smartos01_fs1 daily $?
|
||||||
|
```
|
||||||
|
|
||||||
|
This will update the zabbix server with the exitcode and will also alert you if the job didnt run for more than 2 days.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user