What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

XML Custom EXE/Script Advanced Sensor does not work on windows 2012 R2

Votes:

0

Good afternoon.

PRTG Server Installed on Windows Server 2012 R2. Agent installed on Windows 2012 R2.

I am trying to adjust the sensor XML Custom EXE/Script Advanced - using a demo script. But it is not working. Writes No data since startup

Although, if the agent on Windows 2003 R2 there all works.

What can be done?

custom-sensor exe-script-sensor script

Created on Dec 22, 2015 12:13:16 PM



4 Replies

Votes:

0

P.S. Some effects: now writes "This sensor has not received data for 8 minutes 23 seconds." and increasing.

Interestingly. If you intentionally damage the structure of the file, for example, write "<channel" instead of "<channel>", then begins to write the error "XML: XML Parser mismatch: Wanted </ channelDemo>, got </ result> - JSON: The returned json does not match the expected structure (Invalid JSON.). (code: PE231) "

Created on Dec 23, 2015 2:27:47 PM



Votes:

0

Hi,
What happens when you execute the sensor manually from the commandline?
Do you get results there? What precise script are you using here?

Created on Dec 23, 2015 2:39:10 PM by  Konstantin Wolff [Paessler Support]



Votes:

0

Hi. Through the command line output everything correctly. In the setting of the sensor set "Write to file", check the contents of received files, everything is correct.

Created on Dec 23, 2015 2:45:21 PM



Votes:

0

Hi,
Could you please send some screenshots and the result file to [email protected]?
Please refer to this thread.

Created on Dec 23, 2015 2:51:17 PM by  Konstantin Wolff [Paessler Support]




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.