On Thu, 2005-07-28 at 05:37 -0700, jigar contractor wrote: > That I know but I want to send some description of error messages > along with snmp trap pdu. Is it possible to send such type of error > description with snmp trap ?
Sure. Define a suitable MIB object, and append this varbind to the trap payload. Or else define a suitable MIB notification for the error events that you're interested in. > How NMS will identify that this is the error snmp trap pdu ? You'll probably need to configure the NMS to take notice of this extra information. (Either the additional varbinds, or your new error trap). Given that you're talking about extending the standard SNMP trap mechanism, an NMS won't know about this extension unless you explicitly tell it. There was some discussion a couple of years ago about adding this sort of error description to traps (using precisely this sort of mechanism). But that fizzled out. So you're on your own, I'm afraid. Dave ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
