mirror of
https://github.com/P1XELWAY/pve-backup-monitor.git
synced 2026-04-24 22:55:48 +03:00
Proxmox Backup Monitoring script for Zabbix
- Python 83.9%
- Makefile 14.9%
- Shell 1.2%
|
|
||
|---|---|---|
| .vscode | ||
| img | ||
| .gitignore | ||
| dist.env | ||
| LICENSE | ||
| main.py | ||
| Makefile | ||
| Pipfile | ||
| README.md | ||
| requirements.txt | ||
| run.sh | ||
pve-backup-monitor
Proxmox Backup Monitoring script for Zabbix
Create virtual env
python3 -m venv venv
Installation of the script.
Open ssh on target server and type :
sudo -i
chmod a+rw /opt
cd /opt
git clone ...
mv pve-backup-monitor pve
cd pve
pip install -r requirements.txt
chmod +x run.sh
Upgrade main.py values :
HOST = 'https://set_proxmox_host_here:8006' USERNAME = 'set username here !!!!' PASSWORD = 'set password here !!!!'
Zabbix agent configuration
Add EnableRemoteCommands=1 option
Zabbix configuration
- Create new template
- Create new application
- Add new item, for example:
Name : CI-APP-BACKUP
Type : Zabbix Agent
Key : system.run[/opt/pve/run.sh CI-APP-BACKUP]
Applications : select created application - Add new trigger to call the item
Monitoring:

Items:

Item edit:

Item edit preprocessing:

Triggers:

Trigger edit:
