-
-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Access to the Veeam\backup path denied after v11 Veeam update #80
Comments
Hi, I was need able to reproduce that and need a few more Details about your environment:
Best wishes |
Hi Markus thanks for the reply,
|
Hello, I assume the issue #77 has the same root cause. |
What are the local permissions of the user the probe uses to call the script? |
Hi guys, same problem here, I've read all #77 #78 and this.
|
Duplicate of #77 |
This is a really strange issue. I am not able to reproduce that. @cipo80 which permisses has the user on the local system which the PRTG Probe uses to run the sensor? |
Hi All, in my case the user has local administrative rights, and with the veeam console (installed on the probe server) I can login with my user an see the backups... seems, that everything is OK. |
Hi @vMarkusK , thank you for the reply, the user has local administrative rights, like @carsten0407 I can correctly login by console installed on the probe server. |
I have already talked to prtgtools (vendor of PSx64) to make sure they do not use any special parameters - they do not. Have you guys enabled UAC? |
Hi @cipo80<https://github.com/cipo80>
Are you sure?
If I run the scritp without PSx64.exe it seems to work, with PSx64.exe, at the beginning there is an “0”
The community is not sure that this is the problem
Mit freundlichen Grüßen / best regards
i. A. Carsten Trautmann
Senior System Engineer
IT-Service
|
Just check, UAC is off |
Hi @carsten0407 , in my case both working (psx64 and without it) by PS and both aren't working by PRTG. |
Strange, in my case the script is working in my ISE, with PSx64 and CMD, I get the leading =”0”
in PRTG also the XML-Error.
My Protocol in PRTG looks like @cipo80 yours?
--------------------------------------------------------------------------------------------------
Disconnect-VBRServer : Access to the path "Veeam\Backup" was
denied.
In C:\Program Files (x86)\PRTG Network Monitor\custom
sensors\EXEXML\PRTG-VeeamBRStatsLocalBackupV2.0.ps1:66 Zeichen:5
+ Disconnect-VBRServer -ErrorAction SilentlyContinue
+ ~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], UnauthorizedAccessExceptio
n
+ FullyQualifiedErrorId : System.UnauthorizedAccessException
***@***.***D71F20.9DA43D40]
Mit freundlichen Grüßen / best regards
i. A. Carsten Trautmann
Senior System Engineer
IT-Service
|
..thanx to everybody who works on it….
Mit freundlichen Grüßen / best regards
i. A. Carsten Trautmann
Senior System Engineer
IT-Service
|
Same output by PRTG: Disconnect-VBRServer : Access to the path 'Veeam\Backup' is denied.
|
Ups, I installed the sensor at a different customer (the old script with a veeam 9.5)
And I see, that the leading “0” is also visible..
I threw that in the case, thought the leading “0” is responsible for the XML error.
That doesn't seem to be the case
The script working perfect, also in PRTG
="srv.dom.local"
0:<prtg> <-Not the Problem
<result>
<channel>Successful-Backups</channel>
<value>1</value>
<showChart>1</showChart>
<showTable>1</showTable>
</result>
Mit freundlichen Grüßen / best regards
i. A. Carsten Trautmann
Senior System Engineer
IT-Service
|
Hey, I've got the same error after the update to v11:
I also tried the latest version 2.0.1 of the script and updated PRTG to the latest stable build. |
Might you please add a new Sensor to PRTG, similar to the Original one (enable log) but use this Diagnostic Script instead: Please share the Log (Default Path: C:\ProgramData\Paessler\PRTG Network Monitor\Logs\sensors) returned after the Sensor is executed. Example:
|
Here is my log for it
|
Hey Markus, thanks for your fast response. Here is the result:
And here the Data:
|
The root cause of this issue (and also #77 ) seems to be a connection issue to the Veeam Server.
My Recommendation:
Other Options;
|
Thanks Markus, I will give these a shot |
Hey Markus, thanks for analyzing this and this makes sense. We're discussing the options and try your recommendations. Thank you! |
@efflicto @JasperSnail great, I am looking forward to your feedback. And just to complete the analysis. The xml error is based on the strange error message of the Veeam PowerShell Cmdlet, which includes a XML syntax. |
Hey Markus, so we sided with the PRTG Remote Probe option. I've installed the probe on the Veeam server and added the sensor to it and it worked fine. The other options, except the PS Remote, weren't an option because of security. Thank you for your time and help! |
Hello, We've a sysaccount, especially for PRTG (sys022). I changed the Probe-Service to run under this account. Veeam Backup and Replication: But i get an error:
When i try to login with the sys022 account from the probe device, it does work. Edit: I also tried to put the credentials in cleartext in the script, but doesn't work either ...
If i run the script from powershell, it does work. But if i try to run it in PRTG, it does not work ... |
Tried the same…..same result
Mit freundlichen Grüßen / best regards
i. A. Carsten Trautmann
Senior System Engineer
IT-Service
|
@DerKiLLa Is your User "sys022" member of the local administrators on the VBR Server? |
Hello, I have tested a few Concepts to reproduce this issue:
As I was not able to reproduce this issue I need more details details to dig deeper:
|
Hi Markus, I have set the PRTG Probe service to run as a domain admin service acc, it has access as a Standard user in Veeam BR - now upon trying to run the script I get the following error: Do you know where I might be missing a permission? |
..same testing, same result….
Mit freundlichen Grüßen / best regards
i. A. Carsten Trautmann
Senior System Engineer
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.de<http://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: JasperSnail ***@***.***>
Gesendet: Mittwoch, 31. März 2021 03:55
An: vMarkusK/Advanced-PRTG-Sensors ***@***.***>
Cc: Trautmann, Carsten ***@***.***>; Mention ***@***.***>
Betreff: Re: [vMarkusK/Advanced-PRTG-Sensors] Access to the Veeam\backup path denied after v11 Veeam update (#80)
@efflicto<https://github.com/efflicto> @JasperSnail<https://github.com/JasperSnail> great, I am looking forward to your feedback.
And just to complete the analysis. The xml error is based on the strange error message of the Veeam PowerShell Cmdlet, which includes a XML syntax.
Hi Markus,
I have set the PRTG Probe service to run as a domain admin service acc, it has access as a Standard user in Veeam BR - now upon trying to run the script I get the following error:
A required privilege is not held by the client. (0x522)
Do you know where I might be missing a permission?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#80 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/APIS7JHOZHKWLWLTAE7NCLTTGJ6I5ANCNFSM4ZJ4CGDA>.
|
Yes. But this shouldn't make a difference. OS of VBR Server Windows Server 2012 Datacenter |
So an update from me. To workaround this that we found worked was having the Sensor configured to run a separate PS1 file that invokes the PRTG sensor script. Sensor settings: Psx64.exe Create .PS1 file called RunVeeamScript.ps1 with the following code:
|
Thanks for this workaround! Works like a charm! 👍 |
This work around working also in my enviroment. Thank you 1k Jasper!! |
Works well here too! |
Hi,
We upgraded to v11 recently and since then we've been getting the following log output for the sensor:
Disconnect-VBRServer : Access to the path 'Veeam\Backup' is denied.
I updated the script to the latest in the repo here but same issue.
The text was updated successfully, but these errors were encountered: