Bandwith Calculation via SNMP

Post new topic   Reply to topic    DD-WRT Forum Index -> X86 based Hardware
Author Message
marcolino7
DD-WRT Novice


Joined: 16 Jan 2008
Posts: 33

PostPosted: Wed Nov 11, 2015 15:53    Post subject: Bandwith Calculation via SNMP Reply with quote
Hi,
I'm setting up a Home Automation System (OpenHab) to monitor and graph in/out bandwith on my router.
After few search I found this OID for eth0 Interface:

1.3.6.1.2.1.2.2.1.10.11 for Download
1.3.6.1.2.1.2.2.1.16.11 for Upload

This 2 OID return to me some number, that increment each time.
How can I calculate bandwith in kbit/s and mbit/s ?

Many thanks for help

Marco
Sponsor
al_c
DD-WRT Guru


Joined: 13 Apr 2013
Posts: 2134
Location: Ottawa Canada

PostPosted: Thu Nov 12, 2015 21:30    Post subject: Re: Bandwith Calculation via SNMP Reply with quote
marcolino7 wrote:
Hi,
I'm setting up a Home Automation System (OpenHab) to monitor and graph in/out bandwith on my router.
After few search I found this OID for eth0 Interface:

1.3.6.1.2.1.2.2.1.10.11 for Download
1.3.6.1.2.1.2.2.1.16.11 for Upload

This 2 OID return to me some number, that increment each time.
How can I calculate bandwith in kbit/s and mbit/s ?

Many thanks for help

Marco


Marco - my YAMon script lets you know which devices are connected to your network and how much data they are using, when. The usage is tallied by the hour, day & month.

The live usage report shows current upload and download speeds (in KB/s).

You can download YAMon from http://www.dd-wrt.com/phpBB2/viewtopic.php?t=259806 and read lots of info in the thread.

I hope this helps!

Al
TommySharp
DD-WRT Novice


Joined: 09 Mar 2016
Posts: 1

PostPosted: Wed Mar 09, 2016 10:30    Post subject: Re: Bandwith Calculation via SNMP Reply with quote
marcolino7 wrote:
Hi,
I'm setting up a Home Automation System (OpenHab) to monitor and graph in/out bandwith on my router.
After few search I found this OID for eth0 Interface:

1.3.6.1.2.1.2.2.1.10.11 for Download
1.3.6.1.2.1.2.2.1.16.11 for Upload

This 2 OID return to me some number, that increment each time.
How can I calculate bandwith in kbit/s and mbit/s ?

Many thanks for help

Marco


Hi Marco, did you figure out to show bandwidth data in OpenHAB?
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> X86 based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum