SNMP Trap Receiver
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. -- Thanks & Regards, *Krishnaraj D* "Disclaimer: This message is being sent from Kalki Communication Technologies Pvt Ltd (KALKITECH). and may contain information which is confidential or privileged. If you are not the intended recipient, please advise the sender immediately by reply e-mail and delete this message and any attachments without retaining a copy. Any unauthorized use of the content of this message can expose the responsible party to civil and/or criminal penalties, and may constitute a more serious offense. Further the company does not accept liability for any errors, omissions, viruses or computer problems experienced as a result of this transmission. If you have received this message in error, notice is hereby given that no representation, contract or other binding obligation shall be created by this e-mail." -- 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
Re: SNMP Trap Receiver
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
Querry/ Snmp Trap Receiver/Error
Hi Friends, I am trying to make my own trap receiver program by modifying net-snmp source code. Its receiving traps when I am sending traps from my own PC(another terminal , I am using fedora Linux), does not receive when trap sent from other machines. Anybody have the idea where I need to focus and what can be the error. Please responds. Thanks & regards Trupti S - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
Re: Querry/ Snmp Trap Receiver/Error
On Fri, 2007-03-30 at 18:05 +0530, truptisankar nayak wrote: > Hi Friends, > > I am trying to make my own trap receiver program by modifying net-snmp > source code. > Its receiving traps when I am sending traps from my own PC(another > terminal , I am using fedora Linux), does not receive when trap sent > from other machines. There could be firewall issues. Try turning of your firewall if you have any. (maybe system-config-security) jmf > Anybody have the idea where I need to focus and what can be the > error. > Please responds. > > Thanks & regards > Trupti S > - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ___ Net-snmp-coders mailing list > Net-snmp-coders@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/net-snmp-coders - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders