numlock1052 / pve-backup-monitor

Proxmox Backup Monitoring script for Zabbix

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

  1. Create new template
  2. Create new application
  3. 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
  4. Add new trigger to call the item

Monitoring:


Items:

Item edit:

Item edit preprocessing:


Triggers:

Trigger edit:

About

Proxmox Backup Monitoring script for Zabbix

License:GNU General Public License v3.0


Languages

Language:Python 83.9%Language:Makefile 14.9%Language:Shell 1.2%