Hello, I'm able to get SNMP traps by compiling snmp with option --with-mib-modules=examples/notification. It appears to me the function "send_v2trap()" sends out the trap with OID only
I looked into others examples and found another function "send_enterprise_trap_vars()" appears to send valus along with OID However I'm not able to get the trap My questions are (1) Is it possible to use the function "send_v2trap()" to send out traps with both OID and its value ? (2) If not, what function should I use to replace the function "send_v2trap()" in the example notification.c to send out both OID and value ? (2) If not, how to get the function "send_enterprise_trap_vars()" to work properly ? Thanks so much for your help, Duy Kyng ------------------------------------------------------------------------- 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
