
check_veeam_bkp
Description:
This is a Nagios Plugin that checks the last status of last run of all veeam jobs, not including Replication (BackupSync) jobs (which is a continues jobs that for behaving differently).
– Powershell needs to be installed on the Nagios box.
– NSClient++ needs to be installed on the windosn Veeam server
It is based on another plugin from ‘Nagios Exchange’
The plugin takes 2 arguments:
– Veeam Backup job name (‘all’ can be used)
– Number of days that have to elapse since the last job run before it’s assumed to be in critical state
It checks the job type, in case of ‘Backup’ type it checks last run status and number of days since ‘last run’.
– In case status is Failed it exit with CRITICAL (2).
– In case last run is greater then expected (value passed as argument) is exit with CRITICAL (2).
– No Success in job status exit with WARNING (3).
– Unknown jobs and jobs that are not of type ‘Backup’ exit with WARNING (3).
– Otherwise the script exit with SUCCESS (0).
It has been successfully tested on Veeam Backup & Replication 9.5.0.1922
Usage:
check_veeam_bkp.ps1 [job name all] [number of days]
Current Version
Last Release Date
2018-08-27
Compatible With
- Nagios 4.x
Owner
License
GPL
Project Files
File | Description |
---|---|
check_veeam_bkp.ps1 |