Hi,
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
Article Comments
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:
For the "EXE/Script Advanced" it would be:
<prtg><result><channel>First channel</channel><value>10</value></result></prtg> |
|
Best Regards
Aug, 2017 - Permalink
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:
For the "EXE/Script Advanced" it would be:
Best Regards
Aug, 2017 - Permalink