Re: question on TRAP-TYPE MACRO in private MIB.
Ramji Chandramouli <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Thanks for the response, Dave. On a related topic, when this TRAP-TYPE MIB object is sent in a trap, is the manager (or agent) expected to perform validation that the variable bindings in the trap conform to the MIB definition ? I ask this because I'm noticing that I can send and receive (using net-snmp) any variable bindings in the trap even though the VARIABLES clause in the MIB does not include those MIB objects. Thanks. On 12/12/05, Dave Shield <[email protected]> wrote: > > On Fri, 2005-12-09 at 11:01 -0800, Ramji Chandramouli wrote: > > > In the VARIABLES clause, instead of specifying every MIB variable that > > is defined inside "privateTable", can I just say "privateTable" ? > > No. > The TRAP-TYPE and NOTIFICATION-TYPE definitions require you > to specify the full list of MIB objects that should appear > in this particular notification. > > They don't try to do anything clever, like expanding the > contents of the table. This is the *Simple* Network > Management Protocol, remember. > > > Dave >