Graph ZyXEL DSL modem bandwidth

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
Cyberwizzard
Posts: 13
Joined: Tue Sep 04, 2007 7:01 am

Graph ZyXEL DSL modem bandwidth

Post by Cyberwizzard »

Hi,

I have a P-2602R-D1A from ZyXEL and I want to monitor the DSL bandwidth. Literally the bandwidth as in speed and not line usage as I see in Cacti.

I have 2 problems:

1. I can find the uplink speed as ifSpeed, but where can I find the downlink speed? I guess that with symetric connections this is not an issue but with asymetric it is.

I tried looking at the snmpwalk results and search for ZyXEL private MIB values but I can't find it anywhere.

2. How can I graph ifSpeed from the SNMP results? I can't figure out how the ifSpeed value from the XML declaration should be put into a... data query storage template graph definition or something :P (aka I tried to read the docs but its still not clear how everything fits together - this value is read from the MIB but after that its all unclear to me).
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

ifSpeed is defined as the interface speed, not the line speed. So, IMHO, it does not make that much sense to graph it. Nevertheless, graphing of ifSpeed IS possible. This would require a chnage of the interface.xml file (or better: create a copy of it and change the copy)
Reinhard
junkmail
Posts: 7
Joined: Wed Nov 19, 2008 11:26 am

Post by junkmail »

The only way I have found to measure available bandwidth is by using a polling script such as iperf that queries a companion script on a server on the opposite side of the DSL line. I use it to monitor my DSL line at home and it shows clearly the available bandwidth in both directions (~ 2400 Kbps / 420 Kbps) and the variances. Not quite 3000/512 but then they do say 'up to'. :D
Cyberwizzard
Posts: 13
Joined: Tue Sep 04, 2007 7:01 am

Post by Cyberwizzard »

gandalf wrote:ifSpeed is defined as the interface speed, not the line speed. So, IMHO, it does not make that much sense to graph it. Nevertheless, graphing of ifSpeed IS possible. This would require a chnage of the interface.xml file (or better: create a copy of it and change the copy)
Reinhard
ifSpeed actually does represent the uplink speed of the DSL router (on the encap interface ofcourse, the other is always 100Mbit). Also, the interfaces.xml seems to include the ifSpeed parameter but I can't figure out how all the dots connect.

As an alternative I am considering making a script which logs in on the router and simply parses the HTML for the up and download speed values (giving me both without having to use some obscure/undocumented ZyXEL MIB value)...
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Cyberwizzard wrote:As an alternative I am considering making a script which logs in on the router and simply parses the HTML for the up and download speed values (giving me both without having to use some obscure/undocumented ZyXEL MIB value)...
That indeed is a valid solution.
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests