Welcome to Sky User - The unofficial support forum for everything Sky! - Now helping over 31,400 members.
Want to see fewer adverts? - Why not join SkyUser today?

Technical discussion This is a discussion on, MRTG and DG834GT within the Technical help forum; Not seen a post about this before so here goes. I know the DG834GT does not support SNMP so about ...

Reply
  LinkBack Thread Tools Display Modes
  #1  
Old 11-09-08, 02:59 PM
atari_mark's Avatar
Sky User Member
Exchange: Upholland
Broadband ISP: Max
Router: Netgear V1 DG834GT
Sky TV: Sky Basic
 
Join Date: Apr 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
MRTG and DG834GT

Not seen a post about this before so here goes.

I know the DG834GT does not support SNMP so about a year ago I wrote some PERL to log into the router, grab some stats and then graph them with MRTG. The stats I got for TX and RX are from the stats page and are packets per seconds (not bits per second). So I can graph utilisation but it is not Mbps which, to be honest, is pretty crap.

So I can make it look more like my real throughput, does anyone have figures of the average packet size of an ADSL packet? I tried googling it but the sites I found were not too helpfull.

If you are interested you can see my graphs here

I also graph the LAN side, SNR, Sync speed and attenuation.

Regards

Mark
(Network Specialist for an IT firm!)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!
Reply With Quote
  #2  
Old 17-09-08, 07:53 AM
mossywell's Avatar
Sky User Moderator
Exchange: LSMEPK
Broadband ISP: Max
Router:
Sky TV:
 
Join Date: Sep 2006
Location: London, UK
Posts: 789
Thanks: 0
Thanked 8 Times in 8 Posts
Re: MRTG and DG834GT

Hi Mark,
That's a fascinating question! Firstly, on the subject of SNMP, qwerty12 has written a marvellous article on how to add an SNMP daemon to the firmware here [EXPERTS ONLY] Enabling your DG834GT to use MRTG natively.

However, you you know, SNMP is needed to feed MRTG and simply reading data out of a wget on the stats page will do. You may also have noticed the Tx B/s and Rx B/s fields in the stats web page? Well, if you do some big downloads as a test, you'll see that it doesn't change. That's because the (I believe) the page calculates the average throughput from the uptime. D'oh! So, if you have a big uptime the values aren't really meaningful. So, what I suggest is you grab your data in (via Perl in your case) and calculate the throughput yourself (in Perl would be good!) and present that to MRTG.

FWIW, I had the same issue myself when writing BSR. In the end, I just stuck with the total bytes. If you're interested, the stats page just gets the numbers from ifconfig (but being a network admin, I'm sure you guessed that!).
__________________
IQ album "Dark Matter" artwork reproduced with permission. See www.gep.co.uk/iq for more information.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:18 PM.