Removing notification destinations

Frank Fock Frank.Fock____t-online.de
Wed May 23 07:40:34 CEST 2001


David,

The add_v1_trap_destination() method is meant as an example only.
You can remove destinations by removing the corresponding rows
of the SNMP-TARGET-MIB and SNMP-NOTIFICATION-MIB.
For adding v2 or v3 destinations you should directly add the appropriate
entries in these MIBs.

Regards,
Frank

"David S. Brown" wrote:

> I am using NotificationOriginator::add_v1_trap_destination() to add entries
> in the target and notification tables.  I do not see a method to later
> remove these entries.  Once a destination is added is it expected to stay
> for the life of the agent?
>
> Also, if I am implementing a v2 agent, should I even be using
> add_v1_trap_destination(), or should I be adding destination addresses by
> some other means?
>
> Thank you,
> David Brown
> Anatel Communications




More information about the AGENTPP mailing list