vMarkusK / Advanced-PRTG-Sensors

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

Exception calling "SyncSpaceInfoToDb" with "2" argument(s) #65

Closed martinorob closed 2 years ago

martinorob commented 4 years ago

Veeam Version 10.0.1.4854

Get-vPCRepoInfo : Exception calling "SyncSpaceInfoToDb" with "2" argument(s): "[IP address] Failed to connect to Installer service." At C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXEXML\PRTG-VeeamBRStats.ps1:516 char:35

Get-vPCRepoInfo : at Get-vPCRepoInfo, C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXEXML\PRTG-VeeamBRStats.ps1: line 156 at , C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXEXML\PRTG-VeeamBRStats.ps1: line 516 at , : line 1 At C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXEXML\PRTG-VeeamBRStats.ps1:516 char:35

This broke my PRTG Sensor with XML: Structural error in xml file, 4 open items. -- JSON: The returned JSON does not match the expected structure (Invalid JSON.). (code: PE231)

vMarkusK commented 4 years ago

Hi @martinorob ,

do you use the latest version of the script from the GitHub Repo?

Do you use any special Repositories (Cloud Connect and so on)?

martinorob commented 4 years ago

yes, Last version and no Cloud Connect.. 🙁

`Confirm Continue with this operation? [Y] Yes [A] Yes to All [H] Halt Command [S] Suspend [?] Help (default is "Y"): A DEBUG: Veeam.Backup.Model.CBackupRepositoryInfo

Confirm Continue with this operation? [Y] Yes [A] Yes to All [H] Halt Command [S] Suspend [?] Help (default is "Y"): Y DEBUG: SyncSpaceInfoToDb Failed

Confirm Continue with this operation? [Y] Yes [A] Yes to All [H] Halt Command [S] Suspend [?] Help (default is "Y"): A Get-vPCRepoInfo : Exception calling "SyncSpaceInfoToDb" with "2" argument(s): "[10.8.1.101] Failed to connect to Installer service." At C:\Users\Administrator\Desktop\PRTG-VeeamBRStats.ps1:516 char:35

Get-vPCRepoInfo : at Get-vPCRepoInfo, C:\Users\Administrator\Desktop\PRTG-VeeamBRStats.ps1: line 156 at , C:\Users\Administrator\Desktop\PRTG-VeeamBRStats.ps1: line 516 at , : line 1 At C:\Users\Administrator\Desktop\PRTG-VeeamBRStats.ps1:516 char:35

DEBUG: Veeam.Backup.Model.CBackupRepositoryInfo `

vMarkusK commented 4 years ago

Which Repo type is located on 10.8.1.101? Are there maybe any firewall blocks between the probe one this ip?