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

Using XML sensor, not getting the node I want

Votes:

0

I have a URL and XML response:

<?xml version="1.0" encoding="utf-8"?>
<xml><result>200 OK</result><credit>277.0000</credit></xml>

I have added an sensor "HTTP XML/REST VALUE" , I just want the value of "credit".

But the sensor is now counting number of times "Credit" is used = "1".

What am I doing wrong?

node prtg question sensor xml

Created on Oct 8, 2015 8:40:27 AM

Last change on Oct 8, 2015 9:07:22 AM by  Luciano Lingnau [Paessler]



1 Reply

Accepted Answer

Votes:

0

Hello,
we appreciate your inquiry.

Within the Sensor's Settings there's a setting called Sensor Value which can either be:

  • Use the value of the selected XML node
  • Use the number of occurrences of the selected XML node or its children/siblings

For the desired result (Reading/displaying the value) kindly set it to Use the value of the selected XML node.

Best regards,

Created on Oct 8, 2015 9:06:08 AM by  Luciano Lingnau [Paessler]

Last change on Oct 8, 2015 9:06:40 AM by  Luciano Lingnau [Paessler]




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.