Hello, I'm trying to build a manager around Net-SNMP which uses both snmpd and snmptrapd demons. I have agents distributed in some copmuters monitoring some events. When it is necesary they generate a trap that needs to be reveived by this manager. Basically I'm building a manager to receive traps and to hava an MIB for himself. I need to build this manager using Java, but I would need that the snmptrapd demon forwards the traps to this manager that would be expecting these traps. I was thinking in embeding the trapreceiver in the manager and to forward the traps to it (using JNI). The problem is that I don't know how to acheive this. I have read the FAQs and documentation and found nothing usefull. I tried to use the forward option in the snmptrapd.conf file, and it forwards the traps but I can't seem to print the traps. The problem in doing this is that it would need the manager to decrypt and authenticate traps. since I use authPriv traps.
I have looked through the anmptrapd code but I'm a little confused and I don't know what functions are usefull and basic for building a snmptrapd demon. Can you point me out how to do this? Is there a way to acces the traps within the snmptrapd code? Where can I see and manipulate the data in the traps in the snmptrapd demon? Are traps sent as a flow of characters? Basically I need to send the traps to the manager so that it can use them to graph some data and do some calculations. Any guidance would be very appreciated. Thanks a lot for your collaboration. __________________________________ Do you Yahoo!? Yahoo! Mail - 250MB free storage. Do more. Manage less. http://info.mail.yahoo.com/mail_250 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ 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