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

HTTP XML/REST Value Sensor - Calculate Value

Votes:

0

Hallo,

my example is:

Value is in bytes and I need to display it in GigaBytes.

Is that possible or planned?

Kind Regards, Markus

math rest xml-rest xml-rest-value

Created on May 19, 2016 9:49:44 AM



1 Reply

Votes:

0

Hello Markus,
thank you for your post.

The HTTP XML/REST Value Sensor only queries data in a "Custom" unit, so it can't do the conversion directly, this leaves two alternatives:

  • Use a Sensor Factory Sensor to convert the value from bytes to something else, this will result in having two distinct sensors.
  • Open-up the channel settings from the Value channel of the current sensor, you may then enter a Scaling Division or Multiplication factor to convert the result from the sensor.

Note: If you're unable to locate the Scaling Division or Multiplication settings in the channel's settings please update to the latest PRTG version first as this is fairly recent.

Please note that other sensors (that require the XML data to be in a specific format) allow you to set the "Unit" to bytes, this way you'll be able to take advantage of the Channel Unit Configuration to convert the result automatically in PRTG:


Best Regards,

Created on May 19, 2016 3:22:42 PM 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.