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

Convert Integer to Decimal value



Hi Everyone,

I want to setup a SNMP custom Sensor to read voltage of my generator battery, but it shows me the integer value, and I want to monitor as decimal value.

For example:

Battery Voltage expected: 12.1 V SNMP Query shows: INTEGER: 121

How can I convert from 121 to 12.1?

Thank you.

custom decimals oid snmp snmp-custom

Created on Nov 3, 2021 1:11:20 PM

1 Reply

Accepted Answer



You can access the Channel settings and scroll down to the Decimal places, there you can specify the decimals. More information here

Or in the SNMP Custom Sensor Settings tab, (Not the advanced sensor) go to the OID settings and set the Division value by 10 (or the amount of digits that need to be removed from the result)

Created on Nov 5, 2021 11:35:52 PM by  Jonathan Mena [Paessler Technical Support]

Last change on Aug 12, 2022 3:41:58 PM by  Jonathan Mena [Paessler Technical 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.