Joan Ametller Esquerra <joan.ametl...@gmail.com> writes: > 1. Write a simple trap receiver by my own. The drawback is that > looking at the code of snmptrapd I see a lot of library > initializations I do not know about and I am not sure I have enough > documentation to do it properly.
The right thing to do is implement a snmptrapd_handler, which you can copy from one of the existing examples and adapt it. See either snmptrapd_log.c or snmptrapd_sql.c for example. -- Wes Hardaker USC/ISI ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users