On 7 April 2010 14:45, maxim maxim <[email protected]> wrote: > It doesn't clear from FAQ , can you specify more please about > send_trap_vars() for v1?
FAQ:Coding 16 How can I get the agent to send an SNMPv1 (or SNMPv2c) trap? It doesn't make any difference whether you use the v1-style API call 'send_easy_trap()' or the v2-style 'send_v2trap()'. What matters is the directive(s) in the snmpd.conf file. If this file contains 'trapsink', then the agent will send an SNMPv1 trap. If this file contains 'trap2sink', then the agent will send an SNMPv2c trap. And if this file contains both, then the agent will send two copies of this trap. ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
