[AGENT++] SNMPv3 Authentication failure on HP IA64

moore touchzhao at 163.com
Sat Mar 17 10:52:36 CET 2007


Hi,

Some HP-UX servers in my office were migrated form PA-RISC to IA-64 arch,
and I tested some snmp++ sample programs on new platform. Snmpget/walk fails
when SNMPv3 is enabled while it works well on PA-RISC. Here’s output:

1. Compiled on pa-risc and run on ia64. Though the file format is pa2.0, it
could be run on ia64
% ./snmpGet 192.168.1.59 .1.3.6.1.2.1.2.2.1.18.4228017 -v3 -CCWINC  -snHPOV
-sl2 -md5 -uaCWINC108
SNMP++ Get to 192.168.1.59 SNMPV3 Retries=1 Timeout=100ms
securityName= HPOV, securityLevel= 2, securityModel= 3
contextName= , contextEngineID= 
Oid = 1.3.6.1.2.1.2.2.1.18.4228017
% snmpWalk 10.254.248.41 .1.3.6.1.4.1.2011.2.2.5.1 -v2 -Cpublic -S
SNMP++ snmpWalk to 10.254.248.41 SNMPV2 Retries=1 Timeout=100ms
Community=public
1.3.6.1.4.1.2011.2.2.5.1.0 = 9407840
End of SUBTREE Reached
Total # of Requests = 1
Total # of Objects  = 1
Value = 1482700709
 
2. Compiled on ia64 and run on ia64, with option SNMPv3 is enabled.
% snmpGet 192.168.1.59 .1.3.6.1.2.1.2.2.1.18.4228017 -v3 -CCWINC  -snHPOV
-sl2 -md5 -uaCWINC108
SNMP++ Get to 192.168.1.59 SNMPV3 Retries=1 Timeout=100ms
securityName= HPOV, securityLevel= 2, securityModel= 3
contextName= , contextEngineID= 
Received a report pdu: SNMPv3: USM: Authentication failure
Oid = 1.3.6.1.6.3.15.1.1.5.0
Value = 5
% snmpWalk 10.254.248.41 .1.3.6.1.4.1.2011.2.2.5.1 -v2 -Cpublic -S
SNMP++ snmpWalk to 10.254.248.41 SNMPV2 Retries=1 Timeout=100ms
Community=public
1.3.6.1.4.1.2011.2.2.5.1.0 = 9407840
End of SUBTREE Reached

PA: HP-UX 11.11i with aCC compiler
IA: HP-UX 11.23i with aCC compiler
SNMP++: 3.2.16

Makefile is same, CXXFLAG =  -g -mt -DRWSTD_MULTI_THREAD -D_REENTRANT -AA
-D_XPG4_EXTENDED -D__unix -DHEADER_DES_LOCL_H 
Is there any difference between IA and PA platform?

Best regards,
Moore





More information about the AGENTPP mailing list