>
> My question: What do I call to register my trap definitions?
>>
>
> You don't have to 'register' trap definitions, you simply have to
> 'send' the (correctly composed) notification (agentx-Notify-PDU).
>

Thank you!  Next related question:

When I run "mib2c -c mib2c.notify.conf myMib" the functions generated look
more-or-less like this:

> snmp_varlist_add_variable( &varlist, snmptrap, ... )
> send_v2trap( varlist );
> snmp_free_varbind( varlist );

But...where does send_v2trap() actually send the trap notification?  How
does it know on which host the SNMP daemon is running?

Stéphane Charette
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
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