Is it possible to convert the values being received from SNMP monitors to floating point before conversion?

I have some equipment that is reporting environment values as integers - example: room temperature is 257, when it is actually 25.7 deg celcius. I can do the divide by 10 in the monitor, but the value is kept as integer and thus truncated to 25.

This lack of precision in the converted value makes it difficult to spot trends across a day or week, when the variation may be < 1 or 2 deg C through the whole period. I am also wanting to compare the data between several sources, so getting the data into a common format prior to comparison is essential.

asked 22 Jun '21, 17:53

cbellhouse's gravatar image

cbellhouse
2314
accept rate: 0%


cbellhouse,

We have a new build that has a correction for the truncation of the value. Please install and try your monitor again.

https://www.poweradmin.com/products/server-monitoring/downloads/preview/

Thanks
Quinn

Please make sure to mark your questions accepted when you have your answer by clicking the gray checkmark to the left of the answer.

link

answered 25 Jun '21, 11:32

Quinn's gravatar image

Quinn ♦♦
14.5k3925
accept rate: 35%

Thanks Quinn

The new build resolved my issue. I can now see the properly scaled SNMP values on the device real-time charts as well as the graph reports sent by email.

Build 8.3.17 has the fix for anyone else with this issue.

link

answered 28 Jun '21, 17:04

cbellhouse's gravatar image

cbellhouse
2314
accept rate: 0%

Hi cbellhouse,

In the SNMP monitor click on the Advanced button and that will give you a way to scale the value. This value is what will be stored in the database not the original value. Here is a link to the SNMP Monitor page for more details.

Thanks
Quinn

Please make sure to mark your questions accepted when you have your answer by clicking the gray checkmark to the left of the answer.

link

answered 23 Jun '21, 15:23

Quinn's gravatar image

Quinn ♦♦
14.5k3925
accept rate: 35%

Thanks Quinn

Unfortunately, I am doing exactly that already. I enter "value/10" in the advanced options | Scale value field, but the value is converted from 259 to 25. I need it to store 25.9. Any way to do that?

Screenshot: image?SNMP

link

answered 23 Jun '21, 15:47

cbellhouse's gravatar image

cbellhouse
2314
accept rate: 0%

edited 23 Jun '21, 15:48

Hi cbellhouse,

Make sure that you are using at least v8.3, this feature was just recently added. If you need the latest version you can get it from Here.

Thanks
Quinn

Please make sure to mark your questions accepted when you have your answer by clicking the gray checkmark to the left of the answer.

link

answered 24 Jun '21, 12:01

Quinn's gravatar image

Quinn ♦♦
14.5k3925
accept rate: 35%

Hi Quinn I installed the release candidate you attached (v8.3.1.3), but the same thing happens. I get 257 when the value is not scaled, but 25 when it is.

I tried creating a new SNMP monitor task and doing the SNMP walk to find the value. You can see the raw value, and the data type of integer. Next screen showing the scaled value, no decimal place. Looks exactly the same as the version 8.2 screenshot above.

image?SNMP

link

answered 24 Jun '21, 13:14

cbellhouse's gravatar image

cbellhouse
2314
accept rate: 0%

cbellhouse,

Would you please forward this request to us in an email to create a ticket?

support@poweradmin.com

I need to give this ticket to our programmers to have them look into the issue.

Thanks
Quinn

Please make sure to mark your questions accepted when you have your answer by clicking the gray checkmark to the left of the answer.

link

answered 24 Jun '21, 14:22

Quinn's gravatar image

Quinn ♦♦
14.5k3925
accept rate: 35%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×26
×2
×1
×1

Asked: 22 Jun '21, 17:53

Seen: 3,024 times

Last updated: 28 Jun '21, 17:04