Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4068254
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T16:21:09+00:00 2026-05-20T16:21:09+00:00

How do I collect bandwidth usage/utilzation on devices/switches. From what I understand there are

  • 0

How do I collect bandwidth usage/utilzation on devices/switches. From what I understand there are systems that do something like this. They seem to all have snmp in common.

I am looking for imformation on possibly rolling my own system for collecting this data that will be later used on a web-based front-end. For a real-world but perhaps a bit over complicated example of what I’m talking about take a look at ubersmith de. Most of it will be in a LAMP environment. Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T16:21:09+00:00Added an answer on May 20, 2026 at 4:21 pm

    On pure SNMP point of view, there is a Management Information Base (MIB) on your SNMP device.

    This base is a kind of tree where datas are named using Object IDentifiers (OIDs). One of these datas is a counter called “ifInOctets” in the interface group of MIBII, it represents the number of “In” octets on one of the interface of the SNMP device, another one (“ifOutOctets”) represent the number of “Out” octets. You will find in your favorite language (PHP) a way to get these two counters. You also have the information of the interface speed in “ifSpeed” counter. With NET-SNMP tools installed (on Linux or Microsoft) you can get the information with “snmpget”

    enter image description here

    snmpget -v 1 -c public localhost ifInOctets.65539

    IF-MIB::ifInOctets.65539 = Counter32: 82929271

    Imagine you take 2 values of “ifInOctets” I1 and I2 with an interval of S seconds. You can compute your “In” bandith.

    “In” Bandwith usage in % = (((I2-I1) * 8)*100) / (ifSpeed * S)

    If you just want to have a nice graph of the bandwith usage of your device just try MRTG tool.

    enter image description here

    Best regards.

    JP

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I collect user time zone and a time they want something delivered in that
I need to collect usage information on my on-demand application. This should include things
I would like to collect all css/js resources in a controller. This would result
I am struggling to collect data from a nested list. The list looks something
I want to collect certain information from people/devices via email. These emails will never
My goal is to collect all unknown phone numbers from the Call Log. This
I'd like to collect emails from customers at my restaurant on a piece of
I'd like to collect some kind of geographical information from website users - for
I would like to collect analytics on multiple visits from a logged in user,
How to collect data from Tkinter user form? (either in excel or text file)

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.