Hello all,
is there any way how to programmatically (from our app loaded as a dlmod
module) set destination host for traps (trap2sink config option)?
I'm able to create new trap session via function create_trap_session().
The problem is that I want to update host IP address later (also
programmatically) and I don't know how. I tried to clean old trap sinks
via snmpd_free_trapsinks() function, but it only frees the internal trap
sink structure and not all the remaining things (for example
snmpTargetAddrTable) that were added via callback.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders