Hello, i am trying to monitor Avamar backup clients, i download the script from this topic: https://helpdesk.paessler.com/en/support/solutions/articles/71941-how-to-monitor-emc-avamar-clients-with-prtg but i get this error "The access has been denied. To resolve this issue, check your Credentials for Windows System in the device settings" i already checked the credentials but i have no luck to find the source of this problem. Someone can help me?
My best regards!
Article Comments
Thank you for your reply,
My avamar console is on linux, this script is for windows console right?
$DEVICE=$args[0] #Set Path $logpath = "\\$($DEVICE)\c$\Program Files\avs\var\clientlogs" cd $logpath
I think that sensor is trying to log in on windows console, there is a way to script the log in to Linux, im sorry for my dumb question, but im not programmer, i varely understand the code.
Thank you for your support.
Best regards.
Jan, 2022 - Permalink
Hi,
The script is developed in PowerShell and therefore can be executed on Windows (required for the existing probe). Converting the script for Linux might be possible however I'm afraid that we do not provide official support for customizations.
Nevertheless, I invite you to check if PowerShell can be installed on your system as it can be installed on Linux: https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-linux?view=powershell-7.2. That way, you would not have to rewrite the script but simply use the one I provided above.
Best regards.
Jan, 2022 - Permalink
Hello,
Thank you for your message.
To check where the issue might come from, I invite you to execute the script manually on the probe server and check its output.
I also recommend to replace the code by the following which properly returns the data to PRTG as well as display any execution error in the sensor message field:
Best regards.
Jan, 2022 - Permalink