Solved

Calculate Bandwidth for a CISCO interface using SNMP

Posted on 2010-09-22
1
1,494 Views
Last Modified: 2012-05-10
Using SNMP to interrogate Cisco firewalls. I am trying to
create NMS reporting on a CISCO ASA firewall interface "OUTSODE"
I have the OID's and can interogate and get a value returned.
The OID's I need are :=
interfaces.ifTable.ifEntry.ifInOctets.#
interfaces.ifTable.ifEntry.ifOutOctets.#
# = interface number
Once I get a value returned I have been performing the following
calculation:-
(<interfaces.ifTable.ifEntry.ifInOctets.> * 8) / 1024 then divide by 1024

Although this returns a vlaue, the value is larger than 100Mb which
is the interface's max speed. I have reduced the polling frequency to
1 min.
Can anyhelp me with what I need to do to get a proper and more
meanigful value.

Thanks
0
Comment
Question by:ccfcfc
1 Comment
 
LVL 8

Accepted Solution

by:
Nothing_Changed earned 500 total points
Comment Utility
interfaces.ifTable.ifEntry.ifInOctets.# is total bytes without a time dimenstion. If you want to use the method you are describing, for each of your traffic directions I'd suggest doing your poll (call it CurrPoll), keeping the last poll (call it LastPoll), and as accurately as possible track the time between your polls (as SecondsBetwPolls). Then have your monitor app use this algorithm:
((CurrPoll - LastPoll)*8)/SecondsBetwPolls
yielding for you a fairlyaccurate number on bits per second.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This is about downgrading PIX Version 8.0(4) & ASDM 6.1(5) to PIX 7.2(4) and ASDM 5.2(4) but with only 64MB RAM and 16MB flash. Background: You have a Cisco Pix 515E which was running on PIX 7.2(4) and its supporting ASDM 5.2(4) without any i…
I recently updated from an old PIX platform to the new ASA platform.  While upgrading, I was tremendously confused about how the VPN and AnyConnect licensing works.  It turns out that the ASA has 3 different VPN licensing schemes. "site-to-site" …
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now