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
Add comment