Skip to content

Branrir/check_proxmox_backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Nagios Proxmox Backup check

Nagios Check for Proxmox Backups.

Example output (with performance data):

OK - VM 101: 3 total backups of vm 101. Last backup is from 2020-06-19 00:02:26. Size: 103.93GiB;

For Python requirements run:

sudo pip3 install -r requirements

Installation:

Run following on remote server:

cd /usr/lib/nagios/plugins
wget https://raw.githubusercontent.com/Branrir/check_proxmox_backup/master/check_proxmox_backup.py
chmod +x check_proxmox_backup.py

Parameter Description
-h, --help Shows help
-v, --vmid VM ID to check, can de used multiple times
-s, --storage Storage where backups are located
--verbose Verbose mode, shows all variables (for debugging)
-w, --warning Warning value (days old)
-c, --critical Critical value (days old)

Example usage:

/usr/check_proxmox_backup.py -s Backup -v 101  -c 10 -w 8

Output:

OK - VM 101: 3 total backups of vm 101. Last backup is from 2020-06-19 00:02:26. Size: 103.93GiB;

About

Nagios Check for PVE backups

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages