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
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders