I have the AgentX approach working under both Windows and Linux
(GETS/SETS/WALKs, etc), and I need to send traps/notifications to a
destination. I am currently sending SNMP v2 notifications
using the AgentX interface. I currently have these being emitted to a
destination IP as specified by the trapv2sink entry in the snmpd.conf file.
In my subagent, I am asking a running
master snmpd to send the notification.
This is all well and good, and then the Catch-22 situation. In my
implementation, the destination IP for the traps will be given to my
application over the SNMP interface. Therefore, the
destination IP is somewhat dynamic. I do not want to runtime write the
destination IP to the configuration file, and then restart the agent using
system calls if at all possible.
Is the a runtime API or argument to one of the trap sending APIs that will
allow me to runtime specify the trap destination ip?
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders