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.

Free PRTG
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


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

Votes:

0

Your Vote:

Up

Down

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 by  slamich (1) 1



4 Replies

Votes:

0

Your Vote:

Up

Down

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 by  slamich (1) 1



Votes:

0

Your Vote:

Up

Down

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

Your Vote:

Up

Down

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 by  slamich (1) 1



Votes:

0

Your Vote:

Up

Down

Hi,
Could you please send some screenshots and the result file to support@paessler.com?
Please refer to this thread.

Created on Dec 23, 2015 2:51:17 PM by  Konstantin Wolff [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.