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

How to parse the results from XML/Rest sensor

Votes:

0

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 for the node names ORP020

However, this value is not being parsed by PRTG as a scientic notation number. Can I parse it within the sensor, or do I need to go back to my raw data and arrange for it to output the number is standard decimal format?

decimal http-xml parse scientific

Created on May 26, 2014 3:33:32 PM



1 Reply

Accepted Answer

Votes:

0

"3.389831e-03" will be shown in the last message, but converted to 0 as it is not detected as a number.

0.003389831 will be recognized as number. However, the historic data will it show as "< 0,01". If you export the data, you will get "0.0034" as value.

Created on May 30, 2014 10:50:07 AM by  Arne Seifert [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.