Re: My own SNMP manager

Les Mikesell <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 5/27/2010 12:06 PM, Mariano Bunirigo wrote:
> Hello,
>
> I want to configure the snmptrapd service to redirect the traps received
> to an application of my own which must process the traps and save the
> information received to a database.
>
> But I can't understand how to develop a listener for the traps using the
> Net-Snmp API library. I saw the snmpdemo.c y asyncapp.c samples but they
> send GET request and the receive the response in a callback function
> (async).
>
> This samples don't wait until a trap is received, they take the control
> sending GET request. They are not daemons waiting for messages to arrive.
>
> Please let me know if there is a sample to see or which api functions I
> should check. And the parameters for the snmptrapd to redirect the traps.
>

Do you really need to re-invent this wheel?  If you don't mind running a 
large java program, OpenNMS (http://www.opennms.org) will accept snmp 
traps (and do a lot of other stuff...).  I'm sure there are other 
similar programs available.

-- 
   Les Mikesell
    [email protected]



------------------------------------------------------------------------------

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.