2010/10/5 생각하기 <bakdor...@hanmail.net> > I 'm going to send SNMPTrapv1 use "send_easy_trap >
> I can receive the SNMPv2 Trap named "notiport" > but i can't receive SNMPv1Trap using "send_easy_trap" > > what is the problem ?! From the FAQ 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. See the entry Where are these traps sent to? in the AGENT section for details. Dave ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders