Hi there,
I`m trying to use an Advanced Custom Sensor, to get the open Snapshots in a VMWare Environment.
Therefor I use the Script from the following thread --> https://www.paessler.com/knowledgebase/en/topic/29313-vmware-snapshots.
I tried both ways, to get the Values:
1. Use the Script as written and filled out the Parameters on PRTG
2. Wrote down the variable parameters (Server, User etc.) directly into the Script
When I run the script via Powershell, I get some values back, but if I try to get the Sensor Values via PRTG I get the Message:
"Error reading response: Invalid XML (missing /prtg)"
In the log file, I can read the following:
Die Datei "C:\Program Files (x86)\PRTG Network Monitor\custom sensors\EXEXML\Sn apshots.ps1" kann nicht geladen werden, da die Ausführung von Skripts auf diese m System deaktiviert ist. Weitere Informationen erhalten Sie mit "get-help abou t_signing".
I don`t know, why it is not working. I already did the followig:
1. Set-ExecutionPolicy RemoteSigned (negative)
2. Installed the newest .NET Framework (4.5.1) (negative)
3. Created the Script again, on the machine where it is executed (to solve problem with signing) (negative)
4. Set-ExecutionPolicy temporarely to "Unrestricted" to look if it works (negative)
5. Opened the Powershell first and then tried to get sensor working over PRTG (negative)
Anymore Ideas?
Thanks in advance,
Fox
Add comment