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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
------=_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> ENTERPRISE myEnterprise<br> VARIABLES { privateTable }<br> DESCRIPTION<br> &n bsp; "my= trap type object"<br> ::=3D 7<br> <br> In the VARIABLES clause, instead of specifying every MIB variable that is defined inside "privateTable", can I just say "privateTab= le" ?<br> <br> I expect that the implication of such a definition would be that every MIB variable that is defined in "privateTable" 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. <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 |