I'm trying to create a custom XML sensor and I'm receiving the error Invalid pointer operation. My exe returns the proper XML, so any help on this would be great.

Thanks!


Article Comments

Hi there,

Which scanning interval are you using for this type of sensor? Please try to raise the scanning interval to for example 300 seconds and see if this fixes the issue.

Furthermore, if this does not help, please enable the Write results to Disk option in the sensor settings and forward the results for further analysis.

Best regards


Jul, 2015 - Permalink

Thank you for your response. We tried doing a 60 second internal and a 120 second interval. We also tired using the "Write results to disk" at first, but it only gave us the same error. We were able to get some custom logging added to our sensor and found it was an issue within our code. We never figured out what Invalid Pointer Operation means, but at least our sensor is working.


Jul, 2015 - Permalink

i created EXE/Script Advanced (XML output) Sensor with a script (Powershell) and i get also error message "Invalid pointer operation", my problem was wrong settings for "Credentials for Windows Systems" of the device and "Security Context" of the sensor. PRTG never executed this script because login was not successful.


Oct, 2015 - Permalink