SNMP Convert Packets to Bits

I am new to snmp and after playing for some time I have found the value that I can get that lets me know traffic is flowing through a port.   My problem is that it is ifOutUcastPkts which is in "packets".   I need to know how much traffic has gone from that port to my computer in bits.   Not sure what to ask here but I think it is how do I convert packets to bits? or do I need other information out of snmp to get that and if so what is that?  

thanks for any help

Terry
LVL 1
techbnjcompAsked:
Who is Participating?
 
pseudocyberCommented:
Our gear (Nortel Passports) reports traffic in its SNMP based GUI management tools as "octets" - meaning Bytes.

So, this interface I just pulled up had 130.5 octets just flow through, outbound or 1044 bits, Or a little over 1 Kbps.
0
 
pseudocyberCommented:
Most of us don't do the hardcore MIB walking like you're doing.  We use SNMP programs written by others to read values and put them in an understandable format - like a chart.

We use SolarWinds Orion for this, http://www.solarwinds.net/orion - it's awesome, but a little expensive - but very cheap compared to some others like HP Openview.

There are free ones out on the web, but most involve installing and running on Linux.

If you really want to MIB walk (the process of looking through a Management Information Base manually) get a little utility to do it.  Google for "mib walk".  SolarWinds has a decent one in their Engineers Edition Toolset - one of the best networking toolsets out there, again a litle pricey, but well worth it.  
0
 
techbnjcompAuthor Commented:
I have the walks and have all the oid's.  Then I "attempted" to read a MIB to figure out what was what.  In doing that I can read and determined there is a lot of information.  What I could not do is relate those "name"  for example "ifOutUcastPkts" to a number like .1.3.2.2.1.12.23 (example only).  So I by process of elimination have found and use snmp-d to comamnd line the snmp value.  So that explains that I do know how to get information that I am looking for.
What I don't know is that it reports it in "packets" and how I relate that to "bits" so I can tell how much data has actually went through the interface.  I need to somehow convert packets into bits or bytes to have a real usuable number.  My thinking is that packet is no one size but many sizes and may be hard to convert to bits.   maybe there is a vaue in bits already that I won't have to convert.
0
 
techbnjcompAuthor Commented:
I guess noone here knows the answer to my actual question?
0
 
pseudocyberCommented:
Thanks. :)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.