New Question
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

200.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Download >>


What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more


Top Tags

View all Tags

Custom EXE/Script Sensor - Return value



Your Vote:




We have build a custom exe/script sensor (using JAVA) and getting it executed using windows bat file. when executing, scripts generates some output and we need to PASS or FAIL the sensor based on text output.

PRTG always complaint "Response not wellformed"

How do we correct this problem.

Thanks, Nikesh

custom-script-exe custom-sensor exe-script-sensor

Created on Aug 8, 2017 4:30:18 PM by  nikesh (0) 1

1 Reply



Your Vote:



Hi Nikesh,

Please make sure that output is as expected by PRTG. You can find the proper output syntax in your Webinterface under "Setup > PRTG API > Custom Sensors". An example for the normal "EXE/Script Sensor" would be:

1024:This is a message

For the "EXE/Script Advanced" it would be:

<prtg><result><channel>First channel</channel><value>10</value></result></prtg>

Best Regards

Created on Aug 8, 2017 7:56:17 PM by  Dariusz Gorka [Paessler Support]

Please log in or register to enter your reply.

Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.