This is a discussion on Re: question on TRAP-TYPE MACRO in private MIB. within the SNMP Users forums, part of the Networking and Network Related category; ------=_Part_14597_6927146.1134585063753 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Thanks for ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
------=_Part_14597_6927146.1134585063753
Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Thanks for the response, Dave. On a related topic, when this TRAP-TYPE MIB object is sent in a trap, is th= e manager (or agent) expected to perform validation that the variable binding= s 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 <D.T.Shield@csc.liv.ac.uk> 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 > ------=_Part_14597_6927146.1134585063753 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Thanks for the response, Dave.<br> <br> 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 ?<br> <br> 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.<br> <br> Thanks.<br><br><div><span class=3D"gmail_quote">On 12/12/05, <b class=3D"gm= ail_sendername">Dave Shield</b> <<a href=3D"mailto:D.T.Shield@csc.liv.ac= ..uk">D.T.Shield@csc.liv.ac.uk</a>> wrote:</span><blockquote class=3D"gma= il_quote" style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0= pt 0pt 0.8ex; padding-left: 1ex;"> On Fri, 2005-12-09 at 11:01 -0800, Ramji Chandramouli wrote:<br><br>> In= the VARIABLES clause, instead of specifying every MIB variable that<br>>= ; is defined inside "privateTable", can I just say "privateT= able" ? <br><br>No.<br>The TRAP-TYPE and NOTIFICATION-TYPE definitions require you<= br>to specify the full list of MIB objects that should appear<br>in this pa= rticular notification.<br><br>They don't try to do anything clever, like ex= panding the <br>contents of the table. This is the *Simple* Network<br>Mana= gement Protocol, remember.<br><br><br>Dave<br></blockquote></div><br> ------=_Part_14597_6927146.1134585063753-- ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/...net-snmp-users |