Hello ,
Could it be possible that i can hardcode the engine id for each user i create
i.e
In /var/net-snmp/snmpd.conf
createUser -e 0x0102030405 v3_user MD5 mysecretpass DES mypassphrase
This lines in snmpd.conf is replaced by an encrypted key , but what i suppose
that the entry for this user does not get created in USM table
as when i hit snmpget request as:
snmpget -e 0x0102030405 -v v3_user -l authNoPriv -a MD5 -A mysecretpass
localhost sysUptime.0
RESPONSE = "Timeout : No Response from localhost"
snmpget -v v3_user -l authNoPriv -a MD5 -A mysecretpass localhost sysUptime.0
RESPONSE = snmpget : Unkwon user Name
Whereas for TRAPS:
Though i read that we need to hardcode the engineID for sending trap in
snmd.conf as the engineID of the engine *sending* the trap PDU and the trap
reciever would need to be configured with appropriate users for each trap
generator with the hardcoded engineID as send by the agent
{ [ -- FROM EMAIL ARCHIVE NET-SNMP FORUM -- ] If you are sending an SNMPv3 trap
PDU, then the engineID should be that of the engine *sending* the trap (and the
trap receiver would need to be configured with appropriate users for each trap
generator. If you are sending an SNMPv3 inform PDU, then the engine ID should
be that of the engine *receiving* the trap.}
so i hardcoded the engine-id at agent in /usr/local/share/snmp/snmpd.conf as :
trapsess -e 0x0102030405 -v 3 -u v3_user -a MD5 -A mysecretpass -l authNoPriv
I was able to recieve the traps
Could u explain why so and can we hardcode the engineID for the Users while
creating
Br
Gaurav
--
My life has changed. What about yours?
Log on to the new Indiatimes Mail and Live out of the Inbox!
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders