Hi Dave, Can you describe in details the second option with SNMP SET requests.
Thanks, Maxim 2010/3/8 Dave Shield <d.t.shi...@liverpool.ac.uk>: > On 7 March 2010 16:18, maxim maxim <look200...@gmail.com> wrote: >> Whether does exist net-snmp api for sending trap from sub agent, where >> i can to add a destination ip address and port? > > No. > > The agent trap APIs do *not* specify the destination for the notification. > > As fas as a subagent is concerned, all traps are passed to the master agent. > The master agent uses various MIB tables to specify the destination. > These can be populated via SNMP SET requests, or via the config file. > > But we don't provide an API for the code generating the notification to > specify the destination. > > Dave > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders