Backup and Recovery

Veeam Backup Repositories space usage check

Description:

Veeam Backup Repositories space usage check

A simple check that queries the Veeam Backup and Replication engine for all repositories, including ScaleOut repositories, and outputs their total space and utilization percentage in Nagios friendly format.

Current Version

1.0

Last Release Date

2018-03-15

Compatible With

  • Nagios 3.x
  • Nagios 4.x

Owner

License

GPL


Project Files
Project Notes
This check script is written in Windows PowerShell and needs the VeeamPSSnapin which is installed by default on a Veeam Backup and Replication server. The check script is run on the Veeam Backup and Replication server. To run PowerShell scripts remotely on a Windows Veeam server from your Linux Nagios monitoring server, you can use the "winexe" remote command executer that enables you to run anything remote on a Windows server. Please see the home page for winexe at https://tools.kali.org/maintaining-access/winexe The script has limited error handling. Output includes short summary, Nagios performance data and a long multiline output. Typical output would look like this: OK - All repositories within limits|'CONAS04.xx.com used'=1503GB;;;0;144808 'CONAS04.xx.com utilization'=1%;95;99;0;100 'CONAS02.xx.com used'=14980GB;;;0;16210 'CONAS02.xx.com utilization'=92%;95;99;0;100 'QNAP Backup repo used'=0GB;;;0;14336 'QNAP Backup repo utilization'=0%;95;99;0;100 'SAN Backup repo used'=478GB;;;0;4096 'SAN Backup repo utilization'=12%;95;99;0;100 'COVBR01.xx.com E: used'=52GB;;;0;198 'COVBR01.xx.com E: utilization'=26%;95;99;0;100 'Default Backup Repository used'=68GB;;;0;80 'Default Backup Repository utilization'=86%;95;99;0;100 CONAS04.xx.com Free space 143305GB of 144808GB ( 1% utilized) CONAS02.xx.com Free space 1230GB of 16210GB ( 92% utilized) QNAP Backup repo Free space 14336GB of 14336GB ( 0% utilized) SAN Backup repo Free space 3618GB of 4096GB ( 12% utilized) COVBR01.xx.com E: Free space 146GB of 198GB ( 26% utilized) Default Backup Repository Free space 12GB of 80GB ( 86% utilized)
Reviews (1) Add a Review
Added Parameter for Warning and Critical
by scheppa, March 31, 2018

Replaced: $warningPercent = 95 $criticalPercent = 99 with: param( [parameter(Mandatory=$true)] [alias("w")] $warningPercent, [parameter(Mandatory=$true)] [alias("c")] $criticalPercent )



Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
5 (1)
Favorites
0
Views
8,550