question on TRAP-TYPE MACRO in private MIB.
Ramji Chandramouli <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
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"
::= 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 when
I send out a trap of this TRAP-TYPE.
Net-snmp does not seem to complain when reading this MIB variable.
Thanks.