Hello, I'd like to convert snmp octets to decimal. Can anybody help me?
example: ifInOctets.20 = Counter32: 773357035
what is the equation to convert that number to decimal.
Thank you in advance.
Hello, I'd like to convert snmp octets to decimal. Can anybody help me?
example: ifInOctets.20 = Counter32: 773357035
what is the equation to convert that number to decimal.
Thank you in advance.
In article , adam wrote: : I'd like to convert snmp octets to decimal. Can anybody help me? :example: :ifInOctets.20 = Counter32: 773357035 :what is the equation to convert that number to decimal.
snmp doesn't usually use octets. The value you are looking at is likely already decimal.
For example,
interfaces.ifTable.ifEntry.ifInOctets.49 = Counter32: 2190028276
You don't get into octets in SNMP until you are looking at the binary representation, but the binary representation would not include plaintext works such as "Counter32:", so you are looking at the interpreted (decimal) representation of those counters.
Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.