Incorrect value of the SNMP data

Almostdivine 8 years ago updated by Ilya (Here to help) 7 years ago 2
Hello, i'm trying to monitor device via SNMP. I configured custom monitor, but found a problem. 
I'm using OID: . [Avg CPU Load 15 mins]. 
When I do snmpwalk -v 2c -c public [IP] . I receive a value:
iso. = STRING: "0.05", but in the Anturis this value equals "0" at the first check and "0.00" in the history table. 

How can I fix this?  
Under review

According to http://tools.ietf.org/html/rfc2578#section-7 numbers with floating point are not supported and the value you see "0.05" is just a string.

Since you already use custom monitor, you just need to pipe the output of snmpwalk to some parser like awk and use a regular expression to fetch the actual number you need. There are some examples here https://anturis.com/custom-monitoring-extensions/....

Let me know if you need more assistance.