[SNMP4J] How to get units of a variable from an SNMP stream?
Sajini De Silva
sdesilva28 at gmail.com
Mon May 26 05:36:00 CEST 2014
Hi,
I'm new to snmp4j. I used the sample code in [1] to extract some
meaningful information from a SNMP stream.
In the sample code, oid and value of the variable is extracted, but
the value comes without its units. For example
,oid 1.3.6.1.4.1.2021.4.6.0 (SNMP-MIB::memAvailReal.0) gives the value
13385068 without its unit KB. Is there a way to get the value with its
units in snmp4j?
Can somebody please look in to this?
[1]https://gist.github.com/akirad/5597203
--
*Sajini De Silva*
More information about the SNMP4J
mailing list