vMarkusK / Advanced-PRTG-Sensors

Collection of my Advanced PRTG Sensors
https://mycloudrevolution.com/
Apache License 2.0
69 stars 29 forks source link

v11 GA Compatibility #75

Closed vMarkusK closed 3 years ago

adblocker-1 commented 3 years ago

Delete: ROW: 42

region: Start Load VEEAM Snapin (if not already loaded)

if (!(Get-PSSnapin -Name VeeamPSSnapIn -ErrorAction SilentlyContinue)) { if (!(Add-PSSnapin -PassThru VeeamPSSnapIn)) {

Error out if loading fails

    Write-Error "`nERROR: Cannot load the VEEAM Snapin."
    Exit
}

}

endregion

Change: ROW: 52

region: Functions

Function Get-vPCRepoInfo { [CmdletBinding()]

to:

region: Functions

Function Get-VBRBackupRepository { [CmdletBinding()]

Failed Backups will show again, no Repo report you need to add the sensor again to PRTG

vMarkusK commented 3 years ago

@adblocker-1 Thanks for your feedback.

Might you please explain that in a bit more detail?

Failed Backups will show again, no Repo report you need to add the sensor again to PRTG

Why should the function be renamed?

Why should loading of the Snapin be removed?

Have you seen the changes made in #76 ?