My own SNMP manager

Mariano Bunirigo <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
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.

Regards, Mariano
 		 	   		  
_________________________________________________________________

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

_______________________________________________
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.