On 15 April 2011 14:53, Ekta k <[email protected]> wrote: > That means if I use command like below > snmptrap -v 2c -c public 198.162.2.3 42 sysDescr.0
That command is invalid, bcause you are not specifying the identity of the trap that you wish to send. The first OID on the command line must be the OID of a NOTIFICATION TYPE MIB object. This will be followed by (OID,type,value) triples, for the payload varbinds. But the first OID gives the identity of the trap, and *must* be a NOTIFICATION TYPE OID. Please consult a book on SNMP to understand properly how notifications work. Dave ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
