SNMP information
-
- Posts: 24
- Joined: Mon Mar 18, 2013 10:15 am
SNMP information
I don't suppose anyone has a list of SNMP OID's and the OID description?
I have managed to figure out a few by comparing current values to snmpwalk output, but would be nice to have a full list.
Also - it looks like the error counters are not included in snmp anymore, they are there when I do snmpwalk on 7800 router but not 8800
I'm trying to get MRTG configured to monitor (and then graph) as much as possible via snmp.
Sheepie
I have managed to figure out a few by comparing current values to snmpwalk output, but would be nice to have a full list.
Also - it looks like the error counters are not included in snmp anymore, they are there when I do snmpwalk on 7800 router but not 8800
I'm trying to get MRTG configured to monitor (and then graph) as much as possible via snmp.
Sheepie
-
- Posts: 5378
- Joined: Tue Jul 19, 2011 4:30 pm
Re: SNMP information
Check the following linksheepie wrote:I don't suppose anyone has a list of SNMP OID's and the OID description?
I have managed to figure out a few by comparing current values to snmpwalk output, but would be nice to have a full list.
Also - it looks like the error counters are not included in snmp anymore, they are there when I do snmpwalk on 7800 router but not 8800
I'm trying to get MRTG configured to monitor (and then graph) as much as possible via snmp.
Sheepie
http://www.billion.uk.com/esupport/inde ... oid-values
-
- Posts: 24
- Joined: Mon Mar 18, 2013 10:15 am
Re: SNMP information
The OID/MIB values have changed in the 8800NL
for example, the downstream/upstream sync OID's are now
.1.3.6.1.2.1.10.97.1.1.2.1.10.1 & .1.3.6.1.2.1.10.97.1.1.2.1.10.2
for example, the downstream/upstream sync OID's are now
.1.3.6.1.2.1.10.97.1.1.2.1.10.1 & .1.3.6.1.2.1.10.97.1.1.2.1.10.2
-
- Posts: 5378
- Joined: Tue Jul 19, 2011 4:30 pm
Re: SNMP information
Let me check with our engineerssheepie wrote:The OID/MIB values have changed in the 8800NL
for example, the downstream/upstream sync OID's are now
.1.3.6.1.2.1.10.97.1.1.2.1.10.1 & .1.3.6.1.2.1.10.97.1.1.2.1.10.2
-
- Posts: 67
- Joined: Sat Jun 02, 2012 8:21 pm
Re: SNMP information
This is what I have worked out so far
Down Attenuation .1.3.6.1.2.1.10.97.1.1.2.1.6.1
UP attenuation .1.3.6.1.2.1.10.97.1.1.2.1.6.2
Down SNR .1.3.6.1.2.1.10.97.1.1.2.1.5.1
Up SNR .1.3.6.1.2.1.10.97.1.1.2.1.5.2
Down Rate .1.3.6.1.2.1.10.97.1.1.2.1.10.1
Up Rate .1.3.6.1.2.1.10.97.1.1.2.1.10.2
Down Attainable Rate .1.3.6.1.2.1.10.97.1.1.2.1.9.1
Up Attainable Rate .1.3.6.1.2.1.10.97.1.1.2.1.9.2
Unfortunately I can't make head nor tail of the 'Interface Statistics' OIDs so I'm not having much luck plotting the WAN and LAN throughput.
Tom
Down Attenuation .1.3.6.1.2.1.10.97.1.1.2.1.6.1
UP attenuation .1.3.6.1.2.1.10.97.1.1.2.1.6.2
Down SNR .1.3.6.1.2.1.10.97.1.1.2.1.5.1
Up SNR .1.3.6.1.2.1.10.97.1.1.2.1.5.2
Down Rate .1.3.6.1.2.1.10.97.1.1.2.1.10.1
Up Rate .1.3.6.1.2.1.10.97.1.1.2.1.10.2
Down Attainable Rate .1.3.6.1.2.1.10.97.1.1.2.1.9.1
Up Attainable Rate .1.3.6.1.2.1.10.97.1.1.2.1.9.2
Unfortunately I can't make head nor tail of the 'Interface Statistics' OIDs so I'm not having much luck plotting the WAN and LAN throughput.
Tom
-
- Posts: 67
- Joined: Sat Jun 02, 2012 8:21 pm
Re: SNMP information
Well I've now successfully got all the interface stats plotting, throughput for all 5 LAN ports , VDSL modem throughput, 2.4 and 5GHz wireless throughput. Along with all the other stats (SNR, rates and attenuation.) I just need to see if I can locate any error counts.
-
- Posts: 67
- Joined: Sat Jun 02, 2012 8:21 pm
Re: SNMP information
Well, here's an update on this...
Logging all well and good for a day or so then SNMP service crashes with the following log
I tried restarting the SNMP service via the Web interface, this worked once, then it crashed again with a similar error. Locking up the Web gui as well as telnet. Routing and VDSL seemed unaffected however.
This required a reboot. I switched from SNMPv2 to SNMPv1 and so far it has been running and logging for 16 hrs
EDIT: still going strong after 1 week
Logging all well and good for a day or so then SNMP service crashes with the following log
Code: Select all
20/04/2015,00:10:42,warning,192.168.1.1,daemon,kernel,PrId : 0002a080 (Broadcom4350)
20/04/2015,00:10:42,warning,192.168.1.1,daemon,kernel,BadVA : 02010108
20/04/2015,00:10:42,warning,192.168.1.1,daemon,kernel,Cause : 00000008
20/04/2015,00:10:42,info,192.168.1.1,daemon,kernel,EXL IE
20/04/2015,00:10:42,warning,192.168.1.1,daemon,kernel,Status: 00008d13 USER
20/04/2015,00:10:42,warning,192.168.1.1,daemon,kernel,ra : 00408e8c 0x408e8c
20/04/2015,00:10:42,warning,192.168.1.1,daemon,kernel, Tainted: P
20/04/2015,00:10:42,warning,192.168.1.1,daemon,kernel,epc : 00408f0c 0x408f0c
20/04/2015,00:10:42,warning,192.168.1.1,daemon,kernel,Lo : a87af407
20/04/2015,00:10:42,warning,192.168.1.1,daemon,kernel,Hi : 08cb5e48
20/04/2015,00:10:42,info,192.168.1.1,daemon,kernel, 7fe3f168 00408e8c
20/04/2015,00:10:42,info,192.168.1.1,daemon,kernel, 7fe3f168
20/04/2015,00:10:42,warning,192.168.1.1,daemon,kernel,$28 : 00435040
20/04/2015,00:10:42,info,192.168.1.1,daemon,kernel,
20/04/2015,00:10:42,info,192.168.1.1,daemon,kernel, 2aea9370
20/04/2015,00:10:42,warning,192.168.1.1,daemon,kernel,$24 : 00000000
20/04/2015,00:10:42,info,192.168.1.1,daemon,kernel,4.07E+72
20/04/2015,00:10:42,info,192.168.1.1,daemon,kernel, 2aea9230 7fe3ffe8
20/04/2015,00:10:42,warning,192.168.1.1,daemon,kernel,$20 : 00402308
20/04/2015,00:10:42,info,192.168.1.1,daemon,kernel, 2aecb000
20/04/2015,00:10:42,info,192.168.1.1,daemon,kernel, 00000003 00402890
20/04/2015,00:10:42,warning,192.168.1.1,daemon,kernel,$16 : 7fe400a4
20/04/2015,00:10:42,info,192.168.1.1,daemon,kernel,2
20/04/2015,00:10:42,info,192.168.1.1,daemon,kernel, 00000001 00000002
20/04/2015,00:10:42,warning,192.168.1.1,daemon,kernel,$12 : 00000002
20/04/2015,00:10:42,info,192.168.1.1,daemon,kernel,1
20/04/2015,00:10:42,info,192.168.1.1,daemon,kernel, 00000000 00000006
20/04/2015,00:10:42,warning,192.168.1.1,daemon,kernel,$ 8 : 00000000
20/04/2015,00:10:42,warning,192.168.1.1,daemon,kernel,$ 4 : 7fe3f158 00000000 00000000 7fe3f158
20/04/2015,00:10:42,warning,192.168.1.1,daemon,kernel,$ 0 : 00000000 00000001 02010100 00000007
20/04/2015,00:10:42,warning,192.168.1.1,daemon,kernel,Cpu 1
20/04/2015,00:10:42,warning,192.168.1.1,daemon,kernel,snmpd/30329: potentially unexpected fatal signal 11.
This required a reboot. I switched from SNMPv2 to SNMPv1 and so far it has been running and logging for 16 hrs
EDIT: still going strong after 1 week
-
- Posts: 3
- Joined: Thu Aug 07, 2014 2:04 pm
Re: SNMP information
Sorry to open this up again - can anyone tell me where the "external" (i.e WAN) IP address is?
Ive done an SNMP walk but cant find it - as mentioned previously, the OID's have changed from 7800, and the 8800 seems to have a reduced set.
Ive done an SNMP walk but cant find it - as mentioned previously, the OID's have changed from 7800, and the 8800 seems to have a reduced set.
-
- Posts: 1
- Joined: Wed Jul 19, 2017 10:05 pm
Re: SNMP information
I know this is an old thread but I don't suppose you know/can remember how you determined LAN and WAN throughput via the OIDs?frogfoot wrote:Well I've now successfully got all the interface stats plotting, throughput for all 5 LAN ports , VDSL modem throughput, 2.4 and 5GHz wireless throughput. Along with all the other stats (SNR, rates and attenuation.) I just need to see if I can locate any error counts.
-
- Posts: 1
- Joined: Mon Dec 27, 2021 5:59 am
Re: SNMP information
Hello. I will give below a list of standard OIDs and MIBs with a description for obtaining various statistics via SNMP for network interfaces of switches, routers, access points, network cards in servers, etc.
You can check the OID and MIB from Linux, for example with the command (where .1 is the OID):
You can view the description of network interfaces through the OID (in MIB brackets):
List of port interface indices:
Port status, whether there is a link or not (1-up, 2-down, 3-testing, 4-unknown, 5-dormant, 6-notPresent, 7-lowerLayerDown):
Port status, enabled or disabled by software (1-up, 2-down, 3-testing):
Time of last port change:
Port traffic:
For 64-bit traffic counters, the following MIB is used:
Number of packages containing errors:
The number of dropped packets that are essentially without errors, but were dropped, for example, to free up buffer space:
Physical adress:
The size of the largest package that can be sent:
Interface type:
Unicast packages:
Broadcast packet counter:
Multicast packet counter:
Port speed:
VLAN list:
Device operating time:
Description of the device:
You can check the OID and MIB from Linux, for example with the command (where .1 is the OID):
Code: Select all
snmpwalk -v2c -c community 192.168.1.2 .1
Code: Select all
.1.3.6.1.2.1.2.2.1.2 (ifDescr)
Code: Select all
.1.3.6.1.2.1.17.1.4.1.2 (ifIndex)
Code: Select all
.1.3.6.1.2.1.2.2.1.8 (ifOperStatus)
Code: Select all
ifAdminStatus
Code: Select all
1.3.6.1.2.1.2.2.1.9 (ifLastChange)
Code: Select all
1.3.6.1.2.1.2.2.1.10 (ifInOctets)
1.3.6.1.2.1.2.2.1.16 (ifOutOctets)
Code: Select all
ifHCInOctets
ifHCOutOctets
Code: Select all
1.3.6.1.2.1.2.2.1.20 (ifOutErrors)
1.3.6.1.2.1.2.2.1.20 (ifInErrors)
Code: Select all
ifInDiscards
ifOutDiscards
Code: Select all
1.3.6.1.2.1.2.2.1.6 (ifPhysAddress)
Code: Select all
ifMtu
Code: Select all
ifType
Code: Select all
ifIntUcastPkts
ifOutUcastPkts
Code: Select all
1.3.6.1.2.1.31.1.1.1.3 (ifInBroadcastPkts)
1.3.6.1.2.1.31.1.1.1.5 (ifOutBroadcastPkts)
Code: Select all
1.3.6.1.2.1.31.1.1.1.2 (ifInMulticastPkts)
1.3.6.1.2.1.31.1.1.1.4 (ifOutMulticastPkts)
Code: Select all
1.3.6.1.2.1.2.2.1.5 (ifSpeed)
Code: Select all
.1.3.6.1.2.1.17.7.1.4.3.1.1
Code: Select all
1.3.6.1.2.1.1.3 (sysUpTime)
Code: Select all
1.3.6.1.2.1.1.1.0