Hello!
I'm working on monitoring script for Zabbix. Purpose - get result of build-in Proxmox backup procedure.
Total Zabbix template will works with 2 scripts: discovery script that will find VM numbers and check if backup enabled; monitoring script that will do all other staff.
I want ask you to check my monitoring script. It's pretty much simple to understand. File attached.
Script works with 2 arguments: VM number and number of days to find backup files. Example:
I'm a little bit afraid about logic of script. I made tests of this script on 3 different proxmoxes with different versions. Now, after debugging and fixing issues that been found, seems like working correct. But I want to be sure that everything is fine before publishing to production.
Thanks a lot!
Kind regards, Andrew.
I'm working on monitoring script for Zabbix. Purpose - get result of build-in Proxmox backup procedure.
Total Zabbix template will works with 2 scripts: discovery script that will find VM numbers and check if backup enabled; monitoring script that will do all other staff.
I want ask you to check my monitoring script. It's pretty much simple to understand. File attached.
Script works with 2 arguments: VM number and number of days to find backup files. Example:
Code:
./proxmox-vms-backup-status 100 7
Thanks a lot!
Kind regards, Andrew.