I am using net-snmp ver5.7.1 and config snmpd as a master agent and using my 
app as a sub agent.
I am working on ARM linux and compile net-snmp on version 2.
I want to send trap by agent to different target without restarting snnmpd.
I could add trap session by using function create_trap_session(char *sink, 
u_short sinkport,char *com, int version, int pdutype)
but when I  want to remove session by using snmpd_free_trapsinks();(for 
removing all trap sinks),I encounter a problem.
I will miss communication between agent and master for some times and after 
creating new session I have this error:
duplicate registration: MIB modules...

I would appreciate If you could help me.
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to