Re: trap information interchange: in text format
Joao Miguel Ferreira <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Thank you Dave. I got it. jmf On Wed, 2007-03-21 at 23:06 +0000, Dave Shield wrote: > On 21/03/07, Joao Miguel Ferreira <[email protected]> wrote: > > > At a minimum, you'll need to be able to handle: > > > > > > SNMPv1) trap type (2 integers) > > > enterprise (OID) > > > + arbitrary varbind list > > > > I guess the agent will take care of all the details if I use > > send_v2trap. Is this correct ? > > Yes. > If you'll be using send_v2trap, then all you need is the > trap OID, and the payload varbind list. > The agent will take care of converting this into a v1 > trap when necessary. > > > > > > > TRAP_OID=".1.3.6.1.2.1.1.x.y.z" TRAP_TYPE="Integer" TRAP_VALUE="1234" > > > > > > A single OID is probably sufficient here (assuming v2-style) > > > TRAP_TYPE is redundant. > > > TRAP_VALUE is misleading (and either insufficient, or redundant) > > > > > > > There is really no such thing as a TRAP_VALUE... is there ? > > Correct. > The trap OID is sufficient to uniquely identify the trap. > There is no value associated with a trap. > (Just the varbind list that forms the payload) > > > Dave > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > 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 > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ 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