I'm using the custom script provided here:
I've deployed the sensor but I'm receiving the error:
"XML: The returned XML does not match the expected schema. (Code: PE233) - JSON: The returned JSON does not match the expected structure (invalid JSON.). (Code: PE231) |
I'm using these parameters with this structure:
-SSL -URL "192.168.1.1" -Headers '@{Host = "www.example.com"}' |
I know the script returns XML but i'm not familiar with the schema used by PRTG. I'm assuming the since the script is provided by a PRTG representative that it is simply out of date and needs something updated to the XML in the script.
To outline the need for this I have 2 web servers using host headers and passing through a load balancer so we need to hit the IP address to confirm we are hitting the correct server and use the host header to hit the correct site on the server.
Appreciate any help.
Add comment