snmpv3 traps and contexts

"Naylor, Mark" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <61C61BB7D4828E4EB72B065C85E3D8A65223EC@szexchange.schmid-telecom.com>
Hello,

I have a small problem with snmpv3 traps and context, I would
be greatful if someone could offer me a little guidance as
I cannot solve this myself (even after reading the man pages :-( :-( )

I have a snmptrapd.conf file as written at the end of this email.
I can send snmpv3 traps no problem with a command like

snmptrap -e 0x01020304 -v 3 -u public  -l noauthnoPriv udp:localhost:162
42 coldStart.0

However, I would like to send traps with contexts!! I think I can do
this
with snmptrap using the command


snmptrap -e 0x01020304 -n mycontext -v 3 -u public  -l noauthnoPriv
udp:localhost:162 42 coldStart.0

And when I run the daemon with "snmptrapd -Leo -f -d" I see from the
debug info that the context name is in the packet.

But what do I need to write in snmptrapd.conf!! I have tried using 
authAccess and setAccess but have not been successful.


Thanks

   Mark.


######################################################################
## snmptrapd.conf

createUser -e 0x01020304 public MD5 password DES password


authUser   log,execute,net   public noauthnopriv
authUser   log,execute,net   public authnopriv
authUser   log,execute,net   public authpriv


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.