Problem graphing USR Router

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

Moderators: Developers, Moderators

Post Reply
Roderik
Posts: 6
Joined: Sun Dec 07, 2003 1:22 pm

Problem graphing USR Router

Post by Roderik »

I've got myself a USR 8000a SNMP enabled broadband router and i'm trying to graph the traffic.

on my windows box in the network i can graph the traffic with prtg (http://www.paessler.com/prtg) so it does work...

MG-Softs mib browser can snmpwalk just fine (v1 snmp public)

Code: Select all

***** SNMP QUERY STARTED *****
1: ifNumber.0 (integer) 1
2: ifIndex.1 (integer) 1
3: ifDescr.1 (octet string) Ethernet-WAN [45.74.68.65.72.6E.65.74.2D.57.41.4E (hex)]
4: ifType.1 (integer) ethernet-csmacd(6)
5: ifMtu.1 (integer) 1500
6: ifSpeed.1 (gauge) 0
7: ifPhysAddress.1 (octet string) 00:C0:49:CC:C8:8A [00.C0.49.CC.C8.8A (hex)]
8: ifAdminStatus.1 (integer) up(1)
9: ifOperStatus.1 (integer) up(1)
10: ifLastChange.1 (timeticks) 7 days 07h:01m:58s.50th (63011850)
11: ifInOctets.1 (counter) 4294967207
12: ifInUcastPkts.1 (counter) 5482105
13: ifInNUcastPkts.1 (counter) 2490306
14: ifInDiscards.1 (counter) 0
15: ifInErrors.1 (counter) 0
16: ifInUnknownProtos.1 (counter) 16
17: ifOutOctets.1 (counter) 281173412
18: ifOutUcastPkts.1 (counter) 4799114
19: ifOutNUcastPkts.1 (counter) 355
20: ifOutDiscards.1 (counter) 0
21: ifOutErrors.1 (counter) 0
22: ifOutQLen.1 (gauge) 16
23: ifSpecific.1 (object identifier) ccitt
***** SNMP QUERY FINISHED *****
but since i run cacti on my linux box i've got a problem...

cacti doesn't recognise any interfaces
i also tried the manual way found here: http://raxnet.org/board/viewtopic.php?t=2607

on the commandline it also doesn't work out:

Code: Select all

root@rowan root # snmpget -v1 -c public 10.10.10.1 1.3.6.1.2.1.2.2.1.10.1
Timeout: No Response from 10.10.10.1.

or with a point in front of the oid

root@rowan root # snmpget -v1 -c public 10.10.10.1 .1.3.6.1.2.1.2.2.1.10.1
Timeout: No Response from 10.10.10.1.
from the linux box to the windows box and the linux box goes without a hitch btw

conclusion, i'm at a loss, the only thing i can think of is that the snmp 5.0.9 has some sort of problem. Does anyone have an idea?
Roderik
Posts: 6
Joined: Sun Dec 07, 2003 1:22 pm

Post by Roderik »

i've got it solved, thx to the guys from net-snmp

the USR 8000a router returns 16bit data to a 32bit request
You are talking to a broken agent that is only responding using 16 bits of the the 32 bit request id we sent it. If you are using a recent version of net-snmp, simply turn on 16 bit ids. put '16bitIDs on' in your ~/.snmp/snmp.conf (or /usr/local/share/snmp/snmp.conf to make it system wide).
For older versions, upgrade to a newer version, or search through the patches database for the patch.
and this solved the command line snmp query's

Next problem was cacti still returning SMTP error at the polling host and did not recognise interfaces.

By commenting out in /lib/snmp.php (get and walk finctions) the first part of the if statements

Code: Select all

if (($config["php_snmp_support"] == true) && ($version == "1")) {
till the }else{

i got back my hostname and i could see the interfaces.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest