[snmp] V3 Discovery problem

Josh Bers jbers at bbn.com
Wed Jun 11 11:02:12 BST 2008


I have run into a (new) SNMP V3 discovery problem with the stack (version
6.0 most recent release version):

 

The problem shows up when I try to contact an agent that is misconfigured
and then re-configured correctly. During this time the stack is running,
attempting to request data from the agent.

 

1.	The agent has V3 enabled, however, the username that I am using is
not configured correctly on the agent. It appears that discovery half
succeeds, 
2.	I reconfigure the agent to know about the username and restart it, 
3.	The stack (which has not been restarted) then gets the following
exception while doing discovery:

 

java.lang.NullPointerException"
java.lang.NullPointerException
        at java.util.Hashtable.containsKey(Hashtable.java:314)
        at
uk.co.westhawk.snmp.stack.TimeWindow.isTimeLineKnown(TimeWindow.java:218)
        at
uk.co.westhawk.snmp.beans.UsmDiscoveryBean.discoveryTimeLine(UsmDiscoveryBea
n.java:299)
        at
uk.co.westhawk.snmp.beans.UsmDiscoveryBean.startDiscovery(UsmDiscoveryBean.j
ava:195)
        at
uk.co.westhawk.snmp.stack.SnmpContextv3Basis.discoverIfNeeded(SnmpContextv3B
asis.java:953)
        at
uk.co.westhawk.snmp.stack.SnmpContextv3Basis.addPdu(SnmpContextv3Basis.java:
562)
        at
uk.co.westhawk.snmp.stack.SnmpContextv3Basis.addPdu(SnmpContextv3Basis.java:
478)
        at
uk.co.westhawk.snmp.stack.SnmpContextv3Pool.addPdu(SnmpContextv3Pool.java:39
1)
        at uk.co.westhawk.snmp.stack.Pdu.send(Pdu.java:221)
        at uk.co.westhawk.snmp.stack.Pdu.send(Pdu.java:204)

 

Any help with fixing/diagnosing this problem would be much appreciated.

 

Josh

 

Josh Bers

Senior Engineer, Mobile Networking Systems

BBN Technologies

web: www.bbn.com ph: (617) 873-4262 fax: (617) 873-4523

 



More information about the snmp mailing list