Bluehost.com Web Hosting $6.95

question on TRAP-TYPE MACRO in private MIB.

This is a discussion on question on TRAP-TYPE MACRO in private MIB. within the SNMP Users forums, part of the Networking and Network Related category; ------=_Part_17470_27436980.1134154912664 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, My ...


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-09-2005
Ramji Chandramouli
 
Posts: n/a
Default question on TRAP-TYPE MACRO in private MIB.

------=_Part_17470_27436980.1134154912664
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi,
My question is to with the VARIABLES clause in a TRAP-TYPE MACRO.

I would like to be able to do the following in my MIB.

myTrapTypeObject TRAP-TYPE
ENTERPRISE myEnterprise
VARIABLES { privateTable }
DESCRIPTION
"my trap type object"
::=3D 7

In the VARIABLES clause, instead of specifying every MIB variable that is
defined inside "privateTable", can I just say "privateTable" ?

I expect that the implication of such a definition would be that every MIB
variable that is defined in "privateTable" become possible var-bindings whe=
n
I send out a trap of this TRAP-TYPE.

Net-snmp does not seem to complain when reading this MIB variable.

Thanks.

------=_Part_17470_27436980.1134154912664
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi,<br>
My question is to with the VARIABLES clause in a TRAP-TYPE MACRO.<br>
<br>
I would like to be able to do the following in my MIB.<br>
<br>
myTrapTypeObject TRAP-TYPE<br>
&nbsp;&nbsp;&nbsp; ENTERPRISE myEnterprise<br>
&nbsp;&nbsp;&nbsp; VARIABLES { privateTable }<br>
&nbsp;&nbsp;&nbsp; DESCRIPTION<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp; &quot;my=
trap type object&quot;<br>
&nbsp;&nbsp;&nbsp; ::=3D 7<br>
<br>
In the VARIABLES clause, instead of specifying every MIB variable that
is defined inside &quot;privateTable&quot;, can I just say &quot;privateTab=
le&quot; ?<br>
<br>
I expect that the implication of such a definition would be that every
MIB variable that is defined in &quot;privateTable&quot; become possible
var-bindings when I send out a trap of this TRAP-TYPE.<br>
<br>
Net-snmp does not seem to complain when reading this MIB variable.&nbsp; <b=
r>
<br>
Thanks.<br>
<br>
<br>

------=_Part_17470_27436980.1134154912664--


-------------------------------------------------------
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 12:04 PM.


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