Skip to content

sebastian13/zabbix-template-rclone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Zabbix Template: Rclone Sync

This script logs rclone sync tasks to Zabbix.

Requirements

  • Rclone
  • Zabbix-Sender
  • python3: humanfriendly

How to Use

  1. Download the scripts to /etc/zabbix/scripts/
mkdir -p /etc/zabbix/scripts
cd /etc/zabbix/scripts
curl -O https://github.com/raw/sebastian13/zabbix-template-rclone/master/scripts/rclone-sync.sh
curl -O https://github.com/raw/sebastian13/zabbix-template-rclone/master/scripts/rclone-discovery.pl
chmod +x rclone-sync.sh rclone-discovery.pl
  1. Upload the template zbx_template_rescript-rclone to Zabbix Server and assign it to a host

  2. Run the script

Examples

/etc/zabbix/scripts/rclone-sync.sh [source] [destination]

Running as cronjob, I'm reccomending chronic from moreutils

26 3 * * * chronic /etc/zabbix/scripts/rclone-sync.sh [source] [destination]

About

Monitoring rclone sync tasks

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages