On Tue, 15 Nov 2005 14:52:44 +0200 Robert wrote: RI> net-snmp, version 5.2.1.2, on linux, built with support of RI> SNMP-TARGET-MIB works fine, enables to configure RI> multiple target destinations and keeps them in the configured RI> persistent file, strings per entry. RI> RI> Here I see two general options, how to send traps to the RI> multiple configured destinations: RI> RI> 1. from a script by using snmptrap command and parsing the persistent file RI> and extracting from it all info just from the test strings with targets. RI> RI> 2. from a C-application, using the API like send_v2trap and RI> snmp_parse_config_targetAddr () from libnetsnmpmibs RI> RI> Are there better ways of using target destinations from SNMP-TARGET-MIB?
From where? An application? Command line? For an applictions, throw in an AgentX sub-agent, and let the master agent handle sending the traps. -- NOTE: messages sent directly to me, instead of the lists, will be deleted unless they are requests for paid consulting services. Robert Story; NET-SNMP Junkie Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp> Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users> You are lost in a twisty maze of little standards, all different. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users