Dude chart OID

Hi,

I need same help here!

Which specific oid can I use for creating charts for bandwidth monitoring, with download/upload traffic load? I’m using this two snmp oid’s for readings but I get a graphic measured in x/s (seconds). :confused: I’m geeting a nice graphic but not the real time measurement in bps that I pretend. What am I doing wrong?

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

Can someone enlighten me?? :slight_smile:

Thanks in advance

  1. Multiply by 8 - as the “Octet” name suggests :wink:. It’s number of bytes transmitted/received, so measuring the number divided by time and multiplied by 8 - gives bps.
  2. Use the functions from: http://forum.mikrotik.com/t/functions-syntax/42201/1 :slight_smile:

Hi dasiu,

Thanks for your reply! So, is this correct, applying the formula by the example you gave me?

  • round(rate(diff32(oid_raw(“1.3.6.1.2.1.2.2.1.10.1”, 5, 5, “10.12.169.1”, “community”))*8))
  • round(rate(diff32(oid_raw(“1.3.6.1.2.1.2.2.1.16.1”, 5, 5, “10.12.169.1”, “community”))*8))

Creating the data source by snmpwalk, by right clicking the same OID, it gives me a different formula:

  • rate(diff32(oid_raw(“1.3.6.1.2.1.2.2.1.10.1”, 5, 5, “10.12.26.113”, “community”)))

I applied the formula to one of the devices and designated the Unit field in bps.
oid_datasource.JPG
Your previews information was most important for me, so I would appreciate your comments again.

Thanks!! :smiley:

But what comments? I think you know everything necessary to collect traffic data from the interfaces :slight_smile:.