2009/11/10 surya prakash <[email protected]>: > One can read the trap varbinds from standard input to get the OID and value >of the varbinds. (snmptrapd.conf file configured with processing file to read >the std input) > > Is there way to get varbind type from standard input so that we can rebuild > the trap and can send northbound.
The simplest approach would probably be to use the NetSNMP-TrapReceiver perl module to write an embeeded trap handler. This receives the full details about the incoming trap, including type information. See the NetSNMP::TrapReceiver man page for more details. Dave ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
