based on htrengove/PRTGwindowsbackup
- Download WindowsBackup.ps1
- Save it to your PRTG custom sensor folder for XML-sensors
e.g. C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXEXML
- In PRTG create a new sensor and choose Type "Program/Script (Advanced)"
- Adjust the following settings:
- Program/Script: choose WindowsBackup.ps1 from drop-down menu
- Parameter: '%host' '%windowsdomain' '%windowsuser' '%windowspassword'
The channels will be created automatically and have some default limits:
Channel Name | Description | Values | Warning | Error |
---|---|---|---|---|
Backup Status | Represents the latest status code from Windows Backup | 0 for Success non-0 for Failure |
<=1 >=1 |
|
Hours Since Last Backup | Hours past since last successfully created Backup | e.g. 12h | >=26 | >=50 |
Number of Versions | No. of backups currently available | e.g. 25# | <=0 |