Getting & Evaluating Bandwidth from a Port

Hello everyone.

I need help whit an issue.

i have a dude server monitoring many of my networking devices, sometimes the bandwith in a port downs belows an especific value, i need to send an alert when that happens.
So i’m trying to get the RX value on a ether interface but the value captured is an number that i can’t understand.

the value is taken by the next OID:

iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry.ifInOctets.2

the result is: 3380521224 (Octets)

That OID is the only source i could find to get the bandwith.

The value need to be converted in any way to obtain Mbps ?
Exist another OID that i can take to obtain the value that i need ?

do you know another way to make this task ?


Thanks to Everyone.
Greetings from Colombia.

What you write
iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry.ifInOctets.2
are total RX bytes of interface with name
iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry.ifDescr.2

You can not have rx or tx speed realtime, is dude than calculate the differencies between two read and provide statistical data rates.

Dude have internal function to do that:
[Interface.OutBitRate]
and
[Interface.InBitRate]