On 29/08/07, DI BACCO ANTONIO - technolabs <[EMAIL PROTECTED]> wrote: > Is it possible to call a function to give me the UDP packet that should be > send as a trap? I want to send it by myself, I'm in a subagent and I don't > want to deliver it to the master agent.
Use 'snmp_open' to open a connection to the desired destination, and use 'snmp_send' to send the trap PDU to it. See the code for 'snmptrap' for details. Dave ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ 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