How can I use XPath with PRTG's XML/Rest Value Sensor?

Votes:

0

Your Vote:

Up

Down

I would like to have more information about XPath usage when querying XML files.

help prtg xml xml-rest xpath

Created on Oct 13, 2011 1:27:08 PM by  Daniel Zobel [Paessler Support] (24,941) 3 3

Last change on Dec 14, 2011 1:26:33 PM by  Daniel Zobel [Paessler Support] (24,941) 3 3



1 Reply

Accepted Answer

Votes:

0

Your Vote:

Up

Down


CAUTION

The syntax provided in this article is not fully compatible with the HTTP XML/REST Value Sensor. The use of XPath is not officially supported by this sensor type and we cannot give you any technical support regarding XPath issues.

This article is provided for your information only.


XPath

In the XML Node (and optional property) setting of PRTG's HTTP XML/REST Value Sensor you can try using XPath which can enable you to read, for example, values of arrays from XML files. For example, use array[@name='myName'] to read all 'array' elements which have a 'name' attribute equal to 'myName'.

Links


CAUTION

The syntax provided in this article is not fully compatible with the HTTP XML/REST Value Sensor. The use of XPath is not officially supported by this sensor type and we cannot give you any technical support regarding XPath issues.

This article is provided for your information only.


Created on Oct 13, 2011 1:30:27 PM by  Daniel Zobel [Paessler Support] (24,941) 3 3

Last change on Mar 31, 2014 1:25:31 PM by  Daniel Zobel [Paessler Support] (24,941) 3 3



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.

PRTG
Network Monitor
Intuitive to Use.
Easy to manage.

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

Visit
www.paessler.com

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