Community discussions

 
pmarques
just joined
Topic Author
Posts: 13
Joined: Mon Aug 22, 2011 8:37 pm
Location: Lisbon - Portugal

Dude chart OID

Mon Aug 22, 2011 8:58 pm

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). :? 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?? :)

Thanks in advance
 
User avatar
dasiu
Trainer
Trainer
Posts: 232
Joined: Fri Jan 30, 2009 11:41 am
Location: Reading, UK
Contact:

Re: Dude chart OID

Tue Aug 23, 2011 12:50 am

1. Multiply by 8 - as the "Octet" name suggests ;). 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/viewtopic.php?f=8&t=46570 :)
 
pmarques
just joined
Topic Author
Posts: 13
Joined: Mon Aug 22, 2011 8:37 pm
Location: Lisbon - Portugal

Re: Dude chart OID

Tue Aug 23, 2011 2:16 pm

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!! :D
You do not have the required permissions to view the files attached to this post.
 
User avatar
dasiu
Trainer
Trainer
Posts: 232
Joined: Fri Jan 30, 2009 11:41 am
Location: Reading, UK
Contact:

Re: Dude chart OID

Tue Aug 23, 2011 3:46 pm

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

Who is online

Users browsing this forum: MSN [Bot] and 7 guests