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

PRTG Network Monitor

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

Free Download

Top Tags


View all Tags

Placeholders in XML/Rest sensors

Votes:

0

Your Vote:

Up

Down

I have an XML document with a list of devices which are known to PRTG and some data about them.

For instance, this XPath query works fine: Node *[node_name='ORP020']loss_avg

and returns the value 3.389831e-03.

I would love to replace the node_name string 'ORP020' with a PRTG placeholder like %device as then it would be much easier to clone this sensor.

Is this possible? I have tried it and it does not seem to work.

http-xml placeholders xpath

Created on May 26, 2014 3:29:35 PM by  dkleeman (0) 1



1 Reply

Votes:

0

Your Vote:

Up

Down

Hello,

thank you very much for your KB-Post. I'm very sorry, but such placeholders are not possible with this sensor.

best regards.

Created on May 27, 2014 1:12:53 PM by  Torsten Lindner [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.