vMarkusK / Advanced-PRTG-Sensors

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

SyncSpaceInfoToDb Failed --> $RepoData = $repoList | Get-vPCRepoInfo #92

Closed carsten0407 closed 2 years ago

carsten0407 commented 2 years ago

Hi Guys,

suddenly, I have the following error with at the following command:

$RepoData = $repoList | Get-vPCRepoInfo

Failes-Endpoints 0 1 1 0 1 Running-Endpoints 0 1 1

DEBUG: SyncSpaceInfoToDb Failed Get-vPCRepoInfo : Ausnahme beim Aufrufen von "SyncSpaceInfoToDb" mit 2 Argument(en): "Failed to register new route" In C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXEXML\PRTG-VeeamBRStatsLocalBackupV3.0.ps1:624 Zeichen:29

Get-vPCRepoInfo : bei Get-vPCRepoInfo, C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXEXML\PRTG-VeeamBRStatsLocalBackupV3.0.ps1: Zeile 197 bei , C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXEXML\PRTG-VeeamBRStatsLocalBackupV3.0.ps1: Zeile 624 bei , : Zeile 1 In C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXEXML\PRTG-VeeamBRStatsLocalBackupV3.0.ps1:624 Zeichen:29

DEBUG: Veeam.Backup.Model.CBackupRepositoryInfo DEBUG: SyncSpaceInfoToDb Failed Get-vPCRepoInfo : Ausnahme beim Aufrufen von "SyncSpaceInfoToDb" mit 2 Argument(en): "Failed to register new route" In C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXEXML\PRTG-VeeamBRStatsLocalBackupV3.0.ps1:624 Zeichen:29

Get-vPCRepoInfo : bei Get-vPCRepoInfo, C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXEXML\PRTG-VeeamBRStatsLocalBackupV3.0.ps1: Zeile 197 bei , C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXEXML\PRTG-VeeamBRStatsLocalBackupV3.0.ps1: Zeile 624 bei , : Zeile 1 In C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXEXML\PRTG-VeeamBRStatsLocalBackupV3.0.ps1:624 Zeichen:29

DEBUG: Veeam.Backup.Model.CBackupRepositoryInfo DEBUG: SyncSpaceInfoToDb Failed Get-vPCRepoInfo : Ausnahme beim Aufrufen von "SyncSpaceInfoToDb" mit 2 Argument(en): "Failed to register new route" In C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXEXML\PRTG-VeeamBRStatsLocalBackupV3.0.ps1:624 Zeichen:29

Get-vPCRepoInfo : bei Get-vPCRepoInfo, C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXEXML\PRTG-VeeamBRStatsLocalBackupV3.0.ps1: Zeile 197 bei , C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXEXML\PRTG-VeeamBRStatsLocalBackupV3.0.ps1: Zeile 624 bei , : Zeile 1 In C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXEXML\PRTG-VeeamBRStatsLocalBackupV3.0.ps1:624 Zeichen:29

DEBUG: Veeam.Backup.Model.CBackupRepositoryInfo

REPO - Default Backup Repository - BACKUP01 59 Percent 1 1 20 10 1 REPO - Backup Repository - B2D NAS01 67 Percent 1 1 20 10 1 REPO - Backup Repository - WAN Acceleration 63 Percent 1 1 20 10 1

carsten0407 commented 2 years ago

Same result with the PRTG-VeeamBRStats-v3.ps1

PS C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXEXML> .\PRTG-VeeamBRStats-v3.ps1 -BRHost LOCALHOST C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXEXML\PRTG-VeeamBRStats-v3.ps1 : Ausnahme beim Aufrufen von "SyncSpaceInfoToDb" mit 2 Argument(en): "Failed to register new route" In Zeile:1 Zeichen:1

carsten0407 commented 2 years ago

PS C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXEXML> .\PRTG-VeeamBRStats-v3.ps1 -BRHost LOCALHOST -Debug DEBUG: Starting to Process Connection to 'LOCALHOST' with user 'serviceuser' ... DEBUG: Connecting BRHost 'LOCALHOST' with user 'kmserviceuser'... DEBUG: SyncSpaceInfoToDb Failed C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXEXML\PRTG-VeeamBRStats-v3.ps1 : Ausnahme beim Aufrufen von "SyncSpaceInfoToDb" mit 2 Argument(en): "Failed to register new route" In Zeile:1 Zeichen:1

vMarkusK commented 2 years ago

Hi @carsten0407 ,

Which VBR Version do you use and what types of repos have you configured?

carsten0407 commented 2 years ago

We use the 11.0.1.1261 Two smb Shares and one local store

But wait, we found another mistake maybe. That is the message also from the ps1

@.***

Mit freundlichen Grüßen / best regards

i. A. Carsten Trautmann

Senior System Engineer Operation Center IT-Service [http://support.it.konicaminolta.de/signatures/KM_LOGO.jpg] Konica Minolta Business Solutions Deutschland GmbH Mittlerer Pfad 1, 70499 Stuttgart, Germany Phone: +49 (711) 1385 - 131<tel:+497111385131> Fax: +49 (711) 1385 - 222 Mail: @.**@.> Web: www.konicaminolta.dehttp://www.konicaminolta.de District Court / Amtsgericht: Hannover, HRB 61209 Management / Geschäftsführer: Joerg Hartmann & Kenichiro Fukasawa Aufsichtsratsvorsitzender: Jens Venrath Informationen über die Verarbeitung Ihrer personenbezogenen Daten durch uns können Sie unter https://www.konicaminolta.de/de/business-solutions/meta/dseg.html einsehen.

[http://support.it.konicaminolta.de/signatures/emailPrinzip.jpg]

Von: Markus Kraus @.> Gesendet: Mittwoch, 13. April 2022 14:53 An: vMarkusK/Advanced-PRTG-Sensors @.> Cc: Trautmann, Carsten @.>; Mention @.> Betreff: Re: [vMarkusK/Advanced-PRTG-Sensors] SyncSpaceInfoToDb Failed --> $RepoData = $repoList | Get-vPCRepoInfo (Issue #92)

[EXTERNAL E-MAIL] Use caution when following links or opening attachments.

Hi @carsten0407https://github.com/carsten0407 ,

Which VBR Version do you use and what types of repos have you configured?

— Reply to this email directly, view it on GitHubhttps://github.com/vMarkusK/Advanced-PRTG-Sensors/issues/92#issuecomment-1098014447, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APIS7JBIL5EBXHN5FYB7XSLVE27TBANCNFSM5TKEGC2A. You are receiving this because you were mentioned.Message ID: @.***>

carsten0407 commented 2 years ago

We fix it, was a problem on veeam site

Mit freundlichen Grüßen / best regards

i. A. Carsten Trautmann

Senior System Engineer Operation Center IT-Service [http://support.it.konicaminolta.de/signatures/KM_LOGO.jpg] Konica Minolta Business Solutions Deutschland GmbH Mittlerer Pfad 1, 70499 Stuttgart, Germany Phone: +49 (711) 1385 - 131<tel:+497111385131> Fax: +49 (711) 1385 - 222 Mail: @.**@.> Web: www.konicaminolta.dehttp://www.konicaminolta.de District Court / Amtsgericht: Hannover, HRB 61209 Management / Geschäftsführer: Joerg Hartmann & Kenichiro Fukasawa Aufsichtsratsvorsitzender: Jens Venrath Informationen über die Verarbeitung Ihrer personenbezogenen Daten durch uns können Sie unter https://www.konicaminolta.de/de/business-solutions/meta/dseg.html einsehen.

[http://support.it.konicaminolta.de/signatures/emailPrinzip.jpg]

Von: Markus Kraus @.> Gesendet: Mittwoch, 13. April 2022 14:53 An: vMarkusK/Advanced-PRTG-Sensors @.> Cc: Trautmann, Carsten @.>; Mention @.> Betreff: Re: [vMarkusK/Advanced-PRTG-Sensors] SyncSpaceInfoToDb Failed --> $RepoData = $repoList | Get-vPCRepoInfo (Issue #92)

[EXTERNAL E-MAIL] Use caution when following links or opening attachments.

Hi @carsten0407https://github.com/carsten0407 ,

Which VBR Version do you use and what types of repos have you configured?

— Reply to this email directly, view it on GitHubhttps://github.com/vMarkusK/Advanced-PRTG-Sensors/issues/92#issuecomment-1098014447, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APIS7JBIL5EBXHN5FYB7XSLVE27TBANCNFSM5TKEGC2A. You are receiving this because you were mentioned.Message ID: @.**@.>>