[AGENT++] segfault in mib.cpp when modifying SNMP-NOTIFICATION-MIB rowStatus

Frank Fock fock at agentpp.com
Wed Jan 9 22:04:04 CET 2013


Hi Ed,

Yes, of course. Simply use the ::remove methods of snmp_notification_mib and
snmp_target_mib. I guess you used the sample methods in 
NotificationOriginator
to add trap targets. These are samples only. Do not use those methods in
production (they make assumptions of some index/key values which you
should control in your code).

Take a look at the source of those sample methods and you will be able 
to write
your own code to add and remove trap targets.

Best regards,
Frank


Am 09.01.2013 14:52, schrieb Ed Latimer:
> No, I am unable to reproduce it with an example agent, so I will have to
> trace why the error is occuring. I don't get an error when setting up the
> trap destination, and the coldStart trap is sent successfully.
>
> Is there a way to remove a trap destination once it has been set?
>
> Thank you.
> _______________________________________________
> AGENTPP mailing list
> AGENTPP at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/agentpp

-- 
---
AGENT++
Maximilian-Kolbe-Str. 10
73257 Koengen, Germany
https://agentpp.com
Phone: +49 7024 8688230
Fax:   +49 7024 8688231



More information about the AGENTPP mailing list