Den 25-07-2016 kl. 14:57 skrev Krishnaraj: > Dear Coders, > > I am working on a SNMP manager application in linux. I could understand > the mechanism of GET, SET requests from the sample apps. However the > mechanism of TRAP receiver is quite complex. I unable to understand it > and could not find much references on its working. My idea is to use > some API to build my own trap receiver rather than using snmptrapd. Is > that really possible ? Will you guys be able to help me on this. If API > is not available, whether somebody could brief me the necessary steps so > that I could start digging myself towards the implementation.
Of course it is possible, otherwise there would not be an snmptrapd app :-) But what do you mean when you talk about an API? What you do need to do is to open a session, and add snmp_input as a callback to it, and then you can trim the rest of snmptrapd away, and do what ever you want to do inside snmp_input. /Niels -- Niels Baggesen - @home - Ã…rhus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports.http://sdm.link/zohodev2dev _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders