Fixed
Details
Assignee
Benjamin ReedBenjamin ReedReporter
Seth LegerSeth LegerComponents
Sprint
NoneFix versions
Affects versions
Priority
Critical
Details
Details
Assignee
Benjamin Reed
Benjamin ReedReporter
Seth Leger
Seth LegerComponents
Sprint
None
Fix versions
Affects versions
Priority
PagerDuty
PagerDuty
PagerDuty
Created December 15, 2015 at 9:55 AM
Updated September 20, 2017 at 3:32 PM
Resolved August 2, 2017 at 2:36 PM
A user on the discuss list has a GPON (gigabit passive optical network) device that is returning an SNMP noSuchInstance error for some OIDs during a provisioning scan and this appears to be causing exceptions in provisiond that prevent complete scanning.
We should be catching this exception and continuing on to the next OID in the walk which is what snmpwalk appears to do.
2015-12-08 13:08:33,926 WARN [DefaultUDPTransportMapping_0.0.0.0/0] o.o.n.s.TableTracker: Failed to process response java.lang.IllegalArgumentException: cannot convert noSuchInstance to a HexString at org.opennms.netmgt.snmp.snmp4j.Snmp4JValue.toHexString(Snmp4JValue.java:258) ~[org.opennms.core.snmp.implementations.snmp4j-16.0.4.jar:?] at org.opennms.netmgt.provision.service.PhysInterfaceTableTracker$PhysicalInterfaceRow.getPhysAddr(PhysInterfaceTableTracker.java:194)~[opennms-provisiond-16.0.4.jar:?] at org.opennms.netmgt.provision.service.PhysInterfaceTableTracker$PhysicalInterfaceRow.createInterfaceFromRow(PhysInterfaceTableTracker.java:224)~[opennms-provisiond-16.0.4.jar:?] at org.opennms.netmgt.provision.service.NodeScan$AgentScan$3.processPhysicalInterfaceRow(NodeScan.java:579) ~[opennms-provisiond-16.0.4.jar:?] at org.opennms.netmgt.provision.service.PhysInterfaceTableTracker.rowCompleted(PhysInterfaceTableTracker.java:256)~[opennms-provisiond-16.0.4.jar:?] at org.opennms.netmgt.snmp.SnmpTableResult.handleCompleteRows(SnmpTableResult.java:99) ~[org.opennms.core.snmp.api-16.0.4.jar:?] at org.opennms.netmgt.snmp.SnmpTableResult.storeResult(SnmpTableResult.java:75) ~[org.opennms.core.snmp.api-16.0.4.jar:?] at org.opennms.netmgt.snmp.TableTracker.storeResult(TableTracker.java:106)~[org.opennms.core.snmp.api-16.0.4.jar:?] at org.opennms.netmgt.snmp.CollectionTracker.storeResult(CollectionTracker.java:77) ~[org.opennms.core.snmp.api-16.0.4.jar:?] at org.opennms.netmgt.snmp.ColumnTracker$1.processResponse(ColumnTracker.java:100) ~[org.opennms.core.snmp.api-16.0.4.jar:?] at org.opennms.netmgt.snmp.TableTracker$CombinedColumnResponseProcessor.processResponse(TableTracker.java:170)[org.opennms.core.snmp.api-16.0.4.jar:?] at org.opennms.netmgt.snmp.AggregateTracker$ChildTrackerResponseProcessor.processResponse(AggregateTracker.java:165)[org.opennms.core.snmp.api-16.0.4.jar:?] at org.opennms.netmgt.snmp.SnmpWalker.processResponse(SnmpWalker.java:202)[org.opennms.core.snmp.api-16.0.4.jar:?] at org.opennms.netmgt.snmp.snmp4j.Snmp4JWalker.access$700(Snmp4JWalker.java:48) [org.opennms.core.snmp.implementations.snmp4j-16.0.4.jar:?] at org.opennms.netmgt.snmp.snmp4j.Snmp4JWalker$Snmp4JResponseListener.processResponse(Snmp4JWalker.java:151)[org.opennms.core.snmp.implementations.snmp4j-16.0.4.jar:?] at org.opennms.netmgt.snmp.snmp4j.Snmp4JWalker$Snmp4JResponseListener.onResponse(Snmp4JWalker.java:180)[org.opennms.core.snmp.implementations.snmp4j-16.0.4.jar:?] at org.snmp4j.Snmp.processPdu(Snmp.java:1203)[org.opennms.core.snmp.implementations.snmp4j-16.0.4.jar:?] at org.snmp4j.MessageDispatcherImpl.fireProcessPdu(MessageDispatcherImpl.java:675) [org.opennms.core.snmp.implementations.snmp4j-16.0.4.jar:?] at org.snmp4j.MessageDispatcherImpl.dispatchMessage(MessageDispatcherImpl.java:302) [org.opennms.core.snmp.implementations.snmp4j-16.0.4.jar:?] at org.snmp4j.MessageDispatcherImpl.processMessage(MessageDispatcherImpl.java:373) [org.opennms.core.snmp.implementations.snmp4j-16.0.4.jar:?] at org.snmp4j.MessageDispatcherImpl.processMessage(MessageDispatcherImpl.java:333) [org.opennms.core.snmp.implementations.snmp4j-16.0.4.jar:?] at org.snmp4j.transport.AbstractTransportMapping.fireProcessMessage(AbstractTransportMapping.java:76)[org.opennms.core.snmp.implementations.snmp4j-16.0.4.jar:?] at org.snmp4j.transport.DefaultUdpTransportMapping$ListenThread.run(DefaultUdpTransportMapping.java:414)[org.opennms.core.snmp.implementations.snmp4j-16.0.4.jar:?] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_60]