Monitor the backup status of a single machine made with veeam
Usage: check_vm_backup [options]
Options:
-vm NAME of the machince to check (Not the job name)
-runtime_warn WARNING offset (s) for an active backup session [Default: 10800 (3h)]
-runtime_crit CRITICAL offset (s) for an active backup session [Default: 21600 (6h)]
-last_warn WARNING offset (s) for a finished backup session [Default: 86400 (24h)]
-last_crit CRITICAL offset (s) for a finished backup session [Default: 172800 (48h)]
-type TYPE of Backup. Choose between `backup` or `copy` (Jobs) [Default: backup]
* Windows Server
* Powershell
* Veeam
* Veeam Powershell Plugins
Copy check_vm_backup to your plugin folder (directly on you windows system where veeam is installed) and create a service/exec in your monitoring engine.
./check_vm_backup.ps1 -vm foobar.example.org -runtime_warn 3000 -runtime_crit 4500