Re: Adding description within trap PDU

Bart Van Assche <[email protected]>
Newsgroups gmane.network.net-snmp.devel
Message-ID <[email protected]>
On 01/15/18 20:22, Fulko Hew wrote:
> b) I've always considered David Perkins' book 'Understanding SNMP MIBs'
> as a good reference on how to interpret the specs.
> 
> For TRAPS it says: The optional VARIABLES clause of the TRAP-TYPE construct
> is used to specify one or more scalar or columnar objects that describe 
> the event."

Sorry but what I remember from David Perkins' book is different. I think 
he mentioned that it is allowed to send additional varbinds. Regarding 
TRAPs, a quote from section 2.1.2 of RFC 1215 
(https://tools.ietf.org/html/rfc1215):

    The VARIABLES clause, which need not be present, defines the ordered
    sequence of MIB objects which are contained within every instance of
    the trap type.  Each variable is placed, in order, inside the
    variable-bindings field of the SNMP Trap-PDU.  Note that at the
    option of the agent, additional variables may follow in the
    variable-bindings field.

I don't think that it could have been stated more clearly than in the 
last sentence of the above paragraph ...

Bart.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.