Hello,

I have just implanted my script on my remote probe about veeam, one minute later i got this error :

XML: returned file XML does not correspond to the expected plan. (Code: PE233) - JSON: the sent back file JSON does not correspond to the expected structure (Invalid JSON.). (Code: PE231)

The veeam script working in my SRV-PRTG.

Did you have idea about my error ?


Article Comments

Attention: This article is a record of a conversation with the Paessler support team. The information in this conversation is not updated to preserve the historical record. As a result, some of the information or recommendations in this conversation might be out of date.

Hello Quentin,

One possible reason might be that you've used the wrong script sensor. If your script returns a result formed like value:message, you need to use an Exe/Script Sensor.

In case the output of the script is formed like this.... <prtg> <result> <channel>First channel</channel> <value>10</value> </result> <result> <channel>Second channel</channel> <value>20</value> </result> </prtg> ....you need the Exe/Script Advanced Sensor.

If the sensor type is correct, you could enable Write result to disk in the sensor's "Settings" tab. With the next scan it will write one or several result-files into "C:\ProgramData\Paessler\PRTG Network Monitor\Logs (Sensors)" of your PRTG server (or on the Remote Probe if applicable). All files have the sensor's numeric ID in their filenames. The sensor ID can be found on the sensor's "Overview" tab. In these logs you will see the error that occurs when PRTG runs the script.

Kind regards,

Erhard


Sep, 2017 - Permalink