Thank you, very much.

If the agent is in charge to send the traps, how can the subagent inform
the agent about new sinks? Probably this info will be also conveyed
through the AgentX. I will try.


>I did not use AgentX subagent, but i addeed sink dynamically as


>If you see netsnmp_send_traps( ) API, sinks to which traps are

generated are from the structure :

>struct trap_sink {
> netsnmp_session *sesp;
> struct trap_sink *next;
> int pdutype;
> int version;

>struct trap_sink *sinks = NULL;
>you can use following API with appropriate parameters for adding a

sink : create_trap_session( )

>I tried this and it worked.

This email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
Net-snmp-users mailing list
Please see the following page to unsubscribe or change other options: