Re: Sending trap by myself without passing through master agent

This is a discussion on Re: Sending trap by myself without passing through master agent within the SNMP Users forums, part of the Networking and Network Related category; On 29/08/07, DI BACCO ANTONIO - technolabs <Antonio.DiBacco@technolabs.it> wrote: > Is it possible to ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-04-2007
Dave Shield
 
Posts: n/a
Default Re: Sending trap by myself without passing through master agent

On 29/08/07, DI BACCO ANTONIO - technolabs
<Antonio.DiBacco@technolabs.it> 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/...net-snmp-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:14 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0