SNMP trap handling
jayesh km <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I was writing a program to convert SNMP traps to some proprietary trap format.
My requirement is to parse the SNMP trap PDU and get the trap and all variables associated with the trap and store it in a structure and pass it to some routine that will generate proprietary traps.
I looked into snmaptrapd.c file and could not make much from it. I don't know where exactly the trap PDU is parsed and how the OID in trap is matched to varibale name in MIB file. Can some one please point me how can I get sarted with this? How to get an application call back when a trap is received and how to match OID to actual name and extract variables from trap PDU
Thanks in advance,
Jayesh KM
Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
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