|
Hi,
I would like do the following:
Receive traps (for example with snmpd) then process
the trap (by modifying snmptrapd) and get the variables of the MIB
from the trap and store them for further processing.
To do this I guess I have to convert the MIB I want
to receive as a trap to a C file.
I tried to do this (mib2c) but the
resulting .c and .h file did not contain all the variables of that
MIB
Next I guess I need to change the callback function
in the snmptrapd (I guess this is the print_handler()) and write an own one that
can retrieve the variables of the MIB from the received trap.
Later I would like to send traps but I guess it
will be easy if the mentioned task works.
Can anyone help how to do this. I tried to get the
neccessary information from the faq and readme files but cannot
start.
Thanks in advance
Tamas Patai
|
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
