Hallo,

in the fine working notification sample (/net-snmp-5.2.1/agent/mibgroup/examples/notification.c) I can find a comment:


/* In the notification, we have to assign our notification OID to
    * the snmpTrapOID.0 object. Here is it's definition. */
oid             objid_snmptrap[] = { 1, 3, 6, 1, 2, 1, 4, 3, 0 };
<<<

Do anybody know, why I need this snmpTrapOID in the snmp_varlist_add_variable function?

Thanks.
Torben

_________________________________________________________________
Die neue MSN Suche Toolbar mit Windows-Desktopsuche. Suchen Sie gleichzeitig im Web, Ihren E-Mails und auf Ihrem PC! Jetzt neu! http://desktop.msn.de/ Jetzt gratis downloaden!



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to