Solved

Calculate Bandwidth for a CISCO interface using SNMP

Posted on 2010-09-22
1
1,508 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
ID: 33734075
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When I upgraded my ASA 8.2 to 8.3, I realized that my nonat statement was failing!   The log showed the following error:     %ASA-5-305013: Asymmetric NAT rules matched for forward and reverse flows It was caused by the config upgrade, because t…
This article assumes you have at least one Cisco ASA or PIX configured with working internet and a non-dynamic, public, address on the outside interface. If you need instructions on how to enable your device for internet, or basic configuration info…
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…
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…

828 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