This is a "fork" from MR_Andrew, 2018
This template will help you check the result of scheduled build-in backups in Proxmox. Based on 2 scripts: discovery script that will find VM numbers and check if backup enabled; monitoring script that will do all other staff.
You can make any changes in template as you wish.
-
Setup backup procedure on needed Proxmox server in web interface.
-
Copy all scripts to
/etc/zabbix/scripts/
and make them executablemkdir -p /etc/zabbix/scripts cd /etc/zabbix/scripts chmod +x proxmox*
-
Copy userparameter_proxmox.conf to
/etc/zabbix/zabbix_agentd.d
-
Add the following to /etc/sudoers:
zabbix ALL=(ALL) NOPASSWD: /etc/zabbix/scripts/proxmox-vms-discovery zabbix ALL=(ALL) NOPASSWD: /etc/zabbix/scripts/proxmox-vms-backup-status
Verify sudo file with:
visudo -c
-
Import template to Zabbix Server and apply to needed host
-
Restart the Zabbix agent.