Getting stats from Veeam Backup and Replication - TheMadVanguard/Grafana_Stuff GitHub Wiki

You can get stats from veeam by using a PowerShell script

Before running the script you will need to ensure that you have the Veeam Poweshell module installed, which can be installed from Veeam

Now you'll need to amend line 26 to include the IP or FQDN of your host.

[string] $BRHost = "localhost",

The output should looks something like this

PS C:\Scripts> C:\Scripts\telegraf_veeam.ps1
veeam-stats successfulbackups=9
veeam-stats warningbackups=0
veeam-stats failesbackups=0
veeam-stats failedbackups=0
veeam-stats runningbackups=0
veeam-stats successfulbackupcopys=0
veeam-stats warningbackupcopys=0
veeam-stats failesbackupcopys=0
veeam-stats failedbackupcopys=0
veeam-stats runningbackupcopys=0
veeam-stats idlebackupcopys=0
veeam-stats successfulreplications=0
veeam-stats warningreplications=0
veeam-stats failesreplications=0
veeam-stats failedreplications=0
veeam-stats REPO_Backup=26
veeam-stats protectedendpoints=0
veeam-stats totalbackupread=43
veeam-stats runningreplications=0