2010/1/6 Lv, Bo (EXT-Other - CN/Hangzhou) <[email protected]>:
> The trap information should be: Trap OID <var name, var value>

It depends on the trap.
Some notifications will just contain the trap OID, with no payload.
(e.g. coldStart, warmStart, nsNotifyShutdown).

Some notifications will include several varbinds, not just one.
(e.g.  linkUp, linkDown)



> Per your suggestion, is it better to have snmptrapd to call some program
> for this trap OID, and forward this <name, value> to my application?

That's probably the simplest approach, yes.

Dave

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to