SNMP Performance values


#1

Hello.
I am using SNMP for monitoring B5 devices and using SNMP for getting performance metrics.
Getting values using follow OIDs:
mimosa phy tx rate: 1.3.6.1.4.1.43356.2.1.2.7.1.0
mimosa phy rx rate: 1.3.6.1.4.1.43356.2.1.2.7.2.0
But values in kbps.
How i can convert values to web interface like Mbps Performance?
I converted kbps to mbps as usual but got different values.


#2

You were probably off by a factor of 100 after converting to mbps. The MIB states the syntax is DecimalTwo, which I believe means the decimal is shifted right two places. Divide by 100 after converting to mbps and see if that doesn’t match. Let us know, thanks!

mimosaPhyTxRate OBJECT-TYPE
SYNTAX DecimalTwo
UNITS “kbps"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The transmit packet rate at the physical level over a 5 second interval.”
::= { mimosaPerfInfo 1 }

DecimalTwo ::= TEXTUAL-CONVENTION
DISPLAY-HINT "d-2"
STATUS current
DESCRIPTION "Fixed point, two decimals"
SYNTAX Integer32