trapsink session

MANSOUR NASERI <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
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
[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.