Skip to content

๐Ÿ“ก PRTG Veeam

This script is used to monitor the health and backup status of a Veeam Backup & Replication server, and send the results to a PRTG Network Monitor server using an HTTP Push sensor.


๐Ÿงฐ What It Does

  • Connects to a specified Veeam Backup & Replication server.
  • Collects the latest status of:
  • Backup jobs
  • Repository health
  • Formats the results into XML compatible with PRTG custom sensors.
  • Sends the XML to PRTG using HTTP Push.

โš™๏ธ Requirements

  • Veeam Backup & Replication must be installed and accessible.
  • A PRTG HTTP Push Data Advanced Sensor must be created in advance.
  • The sensor provides:
    • A token (httptoken)
    • A port (httpport)
    • A URL endpoint to send the XML to

๐Ÿš€ Execution

The script should be run via a Windows Scheduled Task (e.g., every 10 minutes), with the following parameters:

.\Veeam-To-PRTG.ps1 
  -BRHost "YourVeeamServer.domain.local" 
  -httppush:$true 
  -httpserver "prtg.domain.local" 
  -httpport 5050 
  -httptoken "my-prtg-token"

๐Ÿ“Œ Parameters

Parameter Description
-BRHost The FQDN or hostname of your Veeam server
-httppush Enables HTTP Push mode to PRTG
-httpserver The PRTG server FQDN (where the Push sensor is configured)
-httpport The port used by the Push sensor (as given by PRTG)
-httptoken The token string generated by the HTTP Push sensor in PRTG

๐Ÿ“ File Location

Script on GitHub


๐Ÿ“Ž Notes

  • Based on a script originally created by Markus Kraus (see original version).
  • Customized and maintained by GeoHolz.

๐Ÿ”’ Security Tip

Make sure to: - Restrict access to the script on disk (NTFS permissions). - Use HTTPS or secure VPN tunnels if sending Push data over public networks.