Re: Sending trap by myself without passing through master agent
"Dave Shield" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
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 [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users