Hi, 
 
I am getting "Bad auth key value" for PassPhrase values in snmpd.conf
while sending notifications to Manager. Please find below scenarios.
    

In case1 ,   I am getting notifications when I used keys.

 

Case 1:   Keys:

snmpd.conf

trapsess -e 0x800000A103111111111111 -v 3 -u admin_1 -a SHA -A
4531343839313333324536323037423941443425 -x AES -X
39313333324536323037423941443845 -l authPriv 10.201.114.75:162 -Ci -t 2
-r 3

 

snmptrapd.conf

createUser admin_1 SHA -l 4531343839313333324536323037423941443425  AES
-l 39313333324536323037423941443845

 

 

In case 2 :  I am not getting  notifications because of bad auth key
error. Can you please tell me what might be the problem ? 

 

Case 2 :  PassPhrase:

 

snmpd.conf

trapsess -e 0x800000A103111111111111 -v 3 -u admin_1 -a MD5 -A
AABBCCDDEEFFGGHHIIJJKK -x DES -X 00112233445566778899 -l authPriv
10.201.114.75:162  -t 2 -r 3 -Ci

 

snmptrapd.conf

createUser admin_1 MD5 AABBCCDDEEFFGGHHIIJJKK  DES 00112233445566778899 

 

Bad auth key value : snmp_hex_to_binary API

 

 

Thanks & Regards,

Narayana 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to