Re: question on TRAP-TYPE MACRO in private MIB.

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 ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-14-2005
Ramji Chandramouli
 
Posts: n/a
Default Re: question on TRAP-TYPE MACRO in private MIB.

------=_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> &lt;<a href=3D"mailto:D.T.Shield@csc.liv.ac=
..uk">D.T.Shield@csc.liv.ac.uk</a>&gt; 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>&gt; In=
the VARIABLES clause, instead of specifying every MIB variable that<br>&gt=
; is defined inside &quot;privateTable&quot;, can I just say &quot;privateT=
able&quot; ?
<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.&nbsp;&nbsp; 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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:22 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0