[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ]
On Mon, 2006-01-16 at 11:44 +0100, MAZELIN-EXTERNAL Christophe wrote: > > 1/How does your application do this? What code does it use? > I haven't code (bought product)- but in the documentation, my > application is Net-SNMP compliant OK - how do you configure the application with information about where to send the traps? What sort of application is this anyway? > 2/ Why oh why do you want to send *three* copies of every trap to the > same trap receiver. > I receice 3 traps - it's correct - > > trapsink 10.104.17.52 unix 9162 => forward when the trap is SNMP v1 > > trap2sink 10.104.17.52 unix 9162=> forward when the trap is SNMP v2c This is not correct. (Which is why I asked you to read (and re-read and re-re-read) the specified FAQ entry). Whenever the agent wants to send a notification, the first line will convert that notification to SNMPv1 trap format and send it to the specified destination. The second line will then convert that *same* notification to SNMPv2c trap format, and send it to the (same) specified destination. > informsink 10.104.17.52 unix 9162 => forward when the SNMP deamon > starts Again, not true. This does exactly the same as the first two lines, except that it converts every notification to an SNMPv2c INFORM format, and sends it to the (same specified destination). Every trap, *including* the 'coldStart' trap will be sent three times to this system. This Is Not What You Want. Do Not Do It. > 3/ Why oh why do you want to send *three* copies of every trap to the > same trap receiver. > Because each trap concerns different traps format. But it's *exactly* the same information each time. You don't post the same message to a mailing list in English, French and Spanish - why send three copies of the same trap in three subtly different formats? > 4/ But *how* do you try to send this trap? What's the exact command? > I use snmptrap with this syntax : > snmptrap -v 1 -c unix 10.104.17.52 1.3.6.1.4.1.5496.2.666.2.2 > 10.104.17.52 2 3 1 1.3.6.1.4.1.2.2 integer 1 ^^^^^^^^^^^^ In other words, you are sending it to the standard port (162) on the system 10.104.17.52 Try specifying "10.104.17.52:9162" (or "127.0.0.1:9162") instead. Dave ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders