Note: As of PRTG 20.4.64, PRTG comes with a native Veeam Backup Job Status Sensor out of the box.
PRTG – Veeam B & R Monitoring
Although Veeam Backup & Replication includes extensive email reporting, I’d like to take it a step further, to include:
- Multiple Veeam Backup & Replication servers
- Detailed statistics
- Detailed alerting
And that’s where the Veeam Backup Enterprise Manager comes into play. With this additional component you can get central reporting on multiple Veeam Backup & Replication servers.

And if you add the Veeam Enterprise Plus Edition, you get a powerful RESTful API for the Backup Enterprise Manager.
Using Powershell scripts and the Veeam API you can build comprehensive PRTG sensors, including real-time alerting and reporting on historical data (e.g. for license reports).


Veeam B & R Monitoring with PRTG – How it Works
To create a custom script sensor in PRTG you need to save a script (preferably Powershell) in the following directory on the machine where the script will run (on the core server or on the remote probe):
%programfiles(x86)%\PRTG Network Monitor\Custom Sensors\EXEXML
or
%programfiles%\PRTG Network Monitor\Custom Sensors\EXEXML
Preparation:
- Give the script user rights in Backup Enterprise Manager
- Disable IE First-Run (because of “Invoke-WebReques” and “Invoke-RestMethod”)
[HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftInternet ExplorerMain]
„DisableFirstRunCustomize“=dword:00000001
The Script:
The latest version of the script can be downloaded from the Github Gist link below:
You can also run the script manually to test it:

Creating the Sensor:
Add an “EXE/Script Advanced” sensor to a device

Settings for the EXE/Script Advanced Sensor

Note!! Using the option “Write EXE result to disk” can be very helpful for debugging. The logs will be saved here:
%programdata%\Paessler\PRTG Network Monitor\\Logs\sensors
Special Thanks:
This article was inspired by Mike Roberts’ (@gngrninja) article Powershell: NetApp LUN monitoring with a PRTG custom sensor. Thanks, Mike!
Add comment