[SNMP4J] net-snmp integration generates exceptions on the console
ymo omy
ymolists at gmail.com
Thu Sep 13 12:03:42 CEST 2007
Hi.
I am trying to integrate with the net-snmp 5.4.1-ssl tools. However i keep
getting exceptions. Is it possible to get a sample command line if anyone of
you already did this sort of stuff. I noticed the commands options on
snmp4j_tool look very similar.
snmpget -v 3 -On -l authPriv -a SHA -u admin1 -A adminAuth -X adminPriv -x
DES localhost 1.3.6.1.2.1.1.1.0
: Error 'Authorization error' generated at: 1.3.6.1.2.1.1.1.0 = Null
872422 [SnmpRequestPool.0] DEBUG org.snmp4j.mp.MPv3 - Removed cache entry:
StateReference[msgID=12024,pduHandle=PduHandle[28132],securityEngineID=80:00:13:70:01:0a:5c:1e:46,securityModel=
org.snmp4j.security.USM at 1cd107f
,securityName=admin1,securityLevel=3,contextEngineID=80:00:13:70:01:0a:5c:1e:46,contextName=]
at
org.snmp4j.agent.request.SnmpRequest$SnmpSubRequest.requestStatusChanged(
SnmpRequest.java:598)
at org.snmp4j.agent.request.RequestStatus.fireRequestStatusChanged(
RequestStatus.java:88)
at org.snmp4j.agent.request.RequestStatus.setErrorStatus(
RequestStatus.java:50)
at org.snmp4j.agent.CommandProcessor.setAuthorizationError(
CommandProcessor.java:442)
at org.snmp4j.agent.CommandProcessor.processRequest(
CommandProcessor.java:327)
at org.snmp4j.agent.CommandProcessor.dispatchCommand(
CommandProcessor.java:288)
at org.snmp4j.agent.CommandProcessor$Command.run(CommandProcessor.java
:503)
at org.snmp4j.util.ThreadPool$TaskManager.run(Unknown Source)
872422 [SnmpRequestPool.0] DEBUG org.snmp4j.security.USM - RFC3414 ยง3.1.4.a
Outgoing message needs to be encrypted
872422 [SnmpRequestPool.0] DEBUG org.snmp4j.security.PrivDES - Preparing
decrypt_params.
872422 [SnmpRequestPool.0] DEBUG org.snmp4j.security.PrivDES - Preparing iv
for encryption.
872422 [SnmpRequestPool.0] DEBUG org.snmp4j.security.PrivDES - Using
padding.
872422 [SnmpRequestPool.0] DEBUG org.snmp4j.security.PrivDES - Encryption
finished.
872422 [SnmpRequestPool.0] DEBUG
org.snmp4j.transport.DefaultUdpTransportMapping - Sending message to
127.0.0.1/3566 with length 126:
30:7c:02:01:03:30:0f:02:02:2e:f8:02:03:00:ff:ff:04:01:03:02:01:03:04:34:30:32:04:09:80:00:13:70:01:0a:5c:1e:46:02:01:34:02:02:03:68:04:06:61:64:6d:69:6e:31:04:0c:9a:59:09:3a:f5:38:b2:39:27:70:50:a5:04:08:00:00:00:34:f4:2a:e7:51:04:30:6b:2a:1f:24:c0:fd:36:21:6f:43:6e:ef:06:71:5d:fa:71:19:c5:a2:98:45:8b:42:e4:df:35:0f:d9:27:3a:c1:86:4c:93:a7:40:79:d3:ca:cd:ee:5a:50:0b:29:a8:2e
More information about the SNMP4J
mailing list