samlin wrote:
Btw, how to handle traps from different agent with same username but diff auth/priv password?Write your own membership provider and then you can achieve it. If you want to add users on the fly, you need to change more classes. It is not the goal of snmpd to be a real world SNMP agent, so please extend it in the way you like.
this version of "sharpsnmplib" only use "user name" as the key of usm,
And it is not thread safe, so it can't match the situation of adding user dynamically.