Hello,
Here is the clarification
http://www.net-snmp.org/docs/man/snmp_trap_api.html.

I just would like to clarify a detail of that manual, to be exact
*send_v2trap()
call.

*the description:
...*
**uses the supplied list of variable bindings to form an SNMPv2 trap, which
is sent to SNMPv2-capable sinks on the configured list. An equivalent INFORM
is sent to the configured list of inform sinks. Sinks that can only handle
SNMPv1 traps are skipped.*
...

What does *"Sinks that can only handle SNMPv1 traps are skipped" *mean?
"sinks" word is sinks pointed by trapsink directive in configuration file?
So it means that in case of send_v2trap():

in this case
1. a trap will not be delivered to localhsot
*trapsink localhost*

2. a trap will be delivered to localhost in v1 and v2 format, is it OK?
*trapsink localhost*
*trap2sink localhost
informsink  localhost
*
Probably I did not correctly understand because during testing the first
case mentioned above I found out that send_v2trap() call only sends trap v1
to localhost.

Can you please clarify the main different between send_v2trap() and
send_trap_vars()/send_easy_trap()/...?
I think that there is no one except presentation of parameters...

-- 
/BR, Alexander
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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

Reply via email to