View Issue Details

IDProjectCategoryView StatusLast Update
1289RackTablesSNMPpublic2014-08-14 23:40
Reporterchristoph Assigned Toadoom42  
PrioritynormalSeverityminorReproducibilityN/A
Status assignedResolutionopen 
Product Version0.20.8 
Summary1289: Unknown OID '41112.1.5' - EdgeRouter Lite
DescriptionEdgeRouter Lite

More infos here:
http://www.ubnt.com/edgemax/edgerouter-lite/

3 port 1G

Supporting LLDP

snmpwalk files attached
TagsNo tags attached.
Attached Files
edgemax.txt (3,984 bytes)   
Server01 ~ # snmpwalk -v 1 -c public 172.16.0.1 sysDescr.0
SNMPv2-MIB::sysDescr.0 = STRING: EdgeOS v1.5.0.4677648.140620.1301

Server01 ~ # snmpwalk -On -v 1 -c public 172.16.0.1 sysObjectID.0
.1.3.6.1.2.1.1.2.0 = OID: .1.3.6.1.4.1.41112.1.5

Server01 ~ # snmpwalk -v 1 -c public 172.16.0.1 ifTable
IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifIndex.2 = INTEGER: 2
IF-MIB::ifIndex.3 = INTEGER: 3
IF-MIB::ifIndex.4 = INTEGER: 4
IF-MIB::ifDescr.1 = STRING: lo
IF-MIB::ifDescr.2 = STRING: eth0
IF-MIB::ifDescr.3 = STRING: eth1
IF-MIB::ifDescr.4 = STRING: eth2
IF-MIB::ifType.1 = INTEGER: softwareLoopback(24)
IF-MIB::ifType.2 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.3 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.4 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifMtu.1 = INTEGER: 16436
IF-MIB::ifMtu.2 = INTEGER: 1500
IF-MIB::ifMtu.3 = INTEGER: 1500
IF-MIB::ifMtu.4 = INTEGER: 1500
IF-MIB::ifSpeed.1 = Gauge32: 10000000
IF-MIB::ifSpeed.2 = Gauge32: 1000000000
IF-MIB::ifSpeed.3 = Gauge32: 1000000000
IF-MIB::ifSpeed.4 = Gauge32: 1000000000
IF-MIB::ifPhysAddress.1 = STRING:
IF-MIB::ifPhysAddress.2 = STRING: 24:a4:3c:5:1b:a5
IF-MIB::ifPhysAddress.3 = STRING: 24:a4:3c:5:1b:a6
IF-MIB::ifPhysAddress.4 = STRING: 24:a4:3c:5:1b:a7
IF-MIB::ifAdminStatus.1 = INTEGER: up(1)
IF-MIB::ifAdminStatus.2 = INTEGER: up(1)
IF-MIB::ifAdminStatus.3 = INTEGER: up(1)
IF-MIB::ifAdminStatus.4 = INTEGER: down(2)
IF-MIB::ifOperStatus.1 = INTEGER: up(1)
IF-MIB::ifOperStatus.2 = INTEGER: up(1)
IF-MIB::ifOperStatus.3 = INTEGER: up(1)
IF-MIB::ifOperStatus.4 = INTEGER: down(2)
IF-MIB::ifLastChange.1 = Timeticks: (0) 0:00:00.00
IF-MIB::ifLastChange.2 = Timeticks: (0) 0:00:00.00
IF-MIB::ifLastChange.3 = Timeticks: (0) 0:00:00.00
IF-MIB::ifLastChange.4 = Timeticks: (0) 0:00:00.00
IF-MIB::ifInOctets.1 = Counter32: 964736
IF-MIB::ifInOctets.2 = Counter32: 1361892177
IF-MIB::ifInOctets.3 = Counter32: 623648464
IF-MIB::ifInOctets.4 = Counter32: 0
IF-MIB::ifInUcastPkts.1 = Counter32: 6070
IF-MIB::ifInUcastPkts.2 = Counter32: 153333140
IF-MIB::ifInUcastPkts.3 = Counter32: 301248649
IF-MIB::ifInUcastPkts.4 = Counter32: 0
IF-MIB::ifInNUcastPkts.1 = Counter32: 0
IF-MIB::ifInNUcastPkts.2 = Counter32: 838747
IF-MIB::ifInNUcastPkts.3 = Counter32: 335990
IF-MIB::ifInNUcastPkts.4 = Counter32: 0
IF-MIB::ifInDiscards.1 = Counter32: 0
IF-MIB::ifInDiscards.2 = Counter32: 17214
IF-MIB::ifInDiscards.3 = Counter32: 891
IF-MIB::ifInDiscards.4 = Counter32: 0
IF-MIB::ifInErrors.1 = Counter32: 0
IF-MIB::ifInErrors.2 = Counter32: 0
IF-MIB::ifInErrors.3 = Counter32: 0
IF-MIB::ifInErrors.4 = Counter32: 0
IF-MIB::ifInUnknownProtos.1 = Counter32: 0
IF-MIB::ifInUnknownProtos.2 = Counter32: 0
IF-MIB::ifInUnknownProtos.3 = Counter32: 0
IF-MIB::ifInUnknownProtos.4 = Counter32: 0
IF-MIB::ifOutOctets.1 = Counter32: 964736
IF-MIB::ifOutOctets.2 = Counter32: 2614898326
IF-MIB::ifOutOctets.3 = Counter32: 2433963054
IF-MIB::ifOutOctets.4 = Counter32: 0
IF-MIB::ifOutUcastPkts.1 = Counter32: 6070
IF-MIB::ifOutUcastPkts.2 = Counter32: 301297323
IF-MIB::ifOutUcastPkts.3 = Counter32: 152744252
IF-MIB::ifOutUcastPkts.4 = Counter32: 0
IF-MIB::ifOutNUcastPkts.1 = Counter32: 0
IF-MIB::ifOutNUcastPkts.2 = Counter32: 0
IF-MIB::ifOutNUcastPkts.3 = Counter32: 0
IF-MIB::ifOutNUcastPkts.4 = Counter32: 0
IF-MIB::ifOutDiscards.1 = Counter32: 0
IF-MIB::ifOutDiscards.2 = Counter32: 0
IF-MIB::ifOutDiscards.3 = Counter32: 0
IF-MIB::ifOutDiscards.4 = Counter32: 0
IF-MIB::ifOutErrors.1 = Counter32: 0
IF-MIB::ifOutErrors.2 = Counter32: 0
IF-MIB::ifOutErrors.3 = Counter32: 0
IF-MIB::ifOutErrors.4 = Counter32: 0
IF-MIB::ifOutQLen.1 = Gauge32: 0
IF-MIB::ifOutQLen.2 = Gauge32: 0
IF-MIB::ifOutQLen.3 = Gauge32: 0
IF-MIB::ifOutQLen.4 = Gauge32: 0
IF-MIB::ifSpecific.1 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.2 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.3 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.4 = OID: SNMPv2-SMI::zeroDotZero
edgemax.txt (3,984 bytes)   
edgerouter.txt (652 bytes)   
	'41112.1.5' => array
	(
		'dict_key' => 50005,
		'text' => 'EdgeRouter Lite: 3 RJ-45/10-100-1000T(X)',
		'processors' => array ('edgerouter'),
	),
	
$iftable_processors['edgerouter'] = array
(
	'pattern' => '@^eth([[:digit:]]+)$@',
	'replacement' => '\\1',
	'dict_key' => 24,
	'label' => '\\1',
	'try_next_proc' => FALSE,
);

	case preg_match ('/^41112\.1\.5/', $sysObjectID): // EdgeRouter
		// one RJ-45 RS-232 and one AC port
		checkPIC ('1-29');
		commitAddPort ($objectInfo['id'], 'console', '1-29', '', ''); // RJ-45 RS-232 console
		checkPIC ('1-16');
		commitAddPort ($objectInfo['id'], 'AC-in', '1-16', '', '');
		break;
edgerouter.txt (652 bytes)   

Activities

christoph

christoph

2014-08-14 23:40

reporter   ~0002467

Working snmp.php snippets included in edgerouter.txt, needs to be added to the dictionary.

Issue History

Date Modified Username Field Change
2014-07-28 12:45 christoph New Issue
2014-07-28 12:45 christoph Status new => assigned
2014-07-28 12:45 christoph Assigned To => adoom42
2014-07-28 12:45 christoph File Added: edgemax.txt
2014-08-14 23:40 christoph File Added: edgerouter.txt
2014-08-14 23:40 christoph Note Added: 0002467