On 05/12/2007, Leonardo Pereira Santos <[EMAIL PROTECTED]> wrote:
> I need to manipulate ( add/remove ) a trapsink from within the agent itself.
> I'm using the create_trap_session function, and it works fine, the specified
> host gets the traps. I can't figure out how to remove this sink when I don't
> want to receive the traps anyome though.

Try
    'remove_trap_session()'


Or it might be worth manipulating the snmpNotifyTable instead.

Dave

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to