Net-Snmp-Trap Reciever Programming

"Steinle Dominik (LWE)" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <2AA5F96FC7F72A44891FBE2A9ADB759D2DFF8C67@LISSVEXMB08.zdv.liebherr.i>
Hi together,

I want to implement an trap receiver with the net-snmp library. The Program should be written in c/c++.
I found in the Folder "Apps" the File "snmptrapd.c" (net-snmp library). But i don't know how to implement an easy application with the functions in the mentioned c-file. (snmptrapd.c). There are no documentation about it.

The idea is to build an simple application that have gets an ip-address from a destination and prints a result when a trap is received with a specific oid from the given ip-address.
Can somebody help me or give me a simple C-Code/C++ Example?? Thanks a lot!!!

(Remember : I don`t want to use snmptrapd with Parameters in the console)



Best Regards

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems

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