Solved

Calculate Bandwidth for a CISCO interface using SNMP

Posted on 2010-09-22
1
1,498 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Quality of Service (QoS) options are nearly endless when it comes to networks today. This article is merely one example of how it can be handled in a hub-n-spoke design using a 3-tier configuration.
Use of TCL script on Cisco devices:  - create file and merge it with running configuration to apply configuration changes
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

895 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

17 Experts available now in Live!

Get 1:1 Help Now