Re: Varbind orfer in SNMP TRAP's

2021-10-30 Thread Bill Fenner
On Thu, Oct 28, 2021 at 6:01 PM Fulko Hew wrote: > > > On Thu, Oct 28, 2021 at 5:23 PM Craig Small wrote: > >> On Fri, 29 Oct 2021 at 05:14, Feroz wrote: >> >>> hi, >>> Is it necessary to maintain any specific order in SNMP TRAP for varbinds? >>> >> For the first two, yes. >> > > I always follo

Re: Varbind orfer in SNMP TRAP's

2021-10-28 Thread Fulko Hew
On Thu, Oct 28, 2021 at 5:23 PM Craig Small wrote: > On Fri, 29 Oct 2021 at 05:14, Feroz wrote: > >> hi, >> Is it necessary to maintain any specific order in SNMP TRAP for varbinds? >> > For the first two, yes. > I always followed the principles of: 1/ least surprise 2/ Be precise in what you s

Re: Varbind orfer in SNMP TRAP's

2021-10-28 Thread Craig Small
On Fri, 29 Oct 2021 at 05:14, Feroz wrote: > hi, > Is it necessary to maintain any specific order in SNMP TRAP for varbinds? > For the first two, yes. > e.g: "sysUpTime.0" should be the first one followed by "snmpTrapOID.0" > then the actual data varbinds. > RFC 1905[1] section 4.2.6: "The firs

Varbind orfer in SNMP TRAP's

2021-10-28 Thread Feroz
hi, Is it necessary to maintain any specific order in SNMP TRAP for varbinds? e.g: "sysUpTime.0" should be the first one followed by "snmpTrapOID.0" then the actual data varbinds. *Detailed Varbinds:* User Datagram Protocol, Src Port: 44724, Dst Port: 162 Simple Network Management Protocol v