> > I was fighting with this myself,
> > did you add a createUser line to the snmptrapd.conf file in 
> /var/net-snmp?
> > 
> > This will send a coldstart-inform to snmptrapd on localhost 
> with an uptime of 42
> > timeticks:
> > snmpinform  -v 3 -u testuser -a MD5 -A password -x DES -X 
> ppassword -l authPriv
> > localhost 42 coldStart.0
> > 
> > To make snmptrapd receive this inform you have to add this to
> > /var/net-snmp/snmptrapd.conf before starting it:
> > createUser testuser MD5 password DES ppassword
> >
> 
> I didn't add the createUser line. If i add it is now working only for 
> informs(snmpinform or snmptrap -Ci). But it is not working 
> for traps(using 
> snmptrap command without -Ci). Why is it so? But i am able to send v2 
> traps.


I noticed that to, a quick call of snmptrapd -f -D shows that all of a sudden
snmptrapd does not know the user testuser any more. The trap is sent but 
snmptrapd refuses to receive it correctly. Very strange, maybe something
with the engine-ID?
 
greetings
Wolfgang


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to