Compaq TCP/IP Services for OpenVMS Programming And Reference Manual page 36

Tcp/ip services for openvms
Table of Contents

Advertisement

Creating a Subagent Using the eSNMP API
3.3 Creating a MIB Source File
The parameters and qualifiers for the MIBCOMP command are as follows:
Parameter or Qualifier
MIB-source-file
subtree
/PREFIX=prefix-name
/PRINT_TREE
/SNMPV2
The following is an example of processing the chess example files using the
/PRINT_TREE qualifier:
$ MIBCOMP RFC1442.MY,CHESS_MIB.MY "chess" /PRINT_TREE
Processing RFC1442.MY
Processing CHESS_MIB.MY
Dump of objects in lexical order
-- This file created by program 'snmpi -p'
ccitt
iso
internet
directory
mgmt
experimental
private
enterprises
dec
ema
sysobjectids
decosf
ObjectID
INTEGER
INTEGER
indexes: gameIndex
1.3.6.1.4.1.36.2.15.2.99.4.1.1
INTEGER
1.3.6.1.4.1.36.2.15.2.99.4.1.2
DisplayString
1.3.6.1.4.1.36.2.15.2.99.4.1.3
INTEGER
1.3.6.1.4.1.36.2.15.2.99.4.1.4
INTEGER
3–6 Creating a Subagent Using the eSNMP API
Definition
A comma-separated list of MIB definition files. The
standard extension is .MY, but you can specify any valid
OpenVMS file name. You must specify the full file name.
The text name for the root of your MIB definitions. This
parameter must be enclosed in quotation marks. This name
is used in generating names for template C modules and
also for the names of the files themselves: subtree_tbl.c and
subtree_tbl.h.
The MIB compiler attaches the prefix-name string to the
beginning of all generated names.
Displays the entire MIB subtree.
Specifies the use of SNMP Version 2 parsing rules.
chess
chessProductID
read-only
chessMaxGames
read-only
chessNumGames
read-only
gameTable
gameEntry
gameIndex
read-write
gameDescr
read-write
range: 0 to 255
gameNumMoves
read-write
gameStatus
read-write
0
1
1.3.6.1
1.3.6.1.1
1.3.6.1.2
1.3.6.1.3
1.3.6.1.4
1.3.6.1.4.1
1.3.6.1.4.1.36
1.3.6.1.4.1.36.2
1.3.6.1.4.1.36.2.15
1.3.6.1.4.1.36.2.15.2
1.3.6.1.4.1.36.2.15.2.99
1.3.6.1.4.1.36.2.15.2.99.1
1.3.6.1.4.1.36.2.15.2.99.2
1.3.6.1.4.1.36.2.15.2.99.3
1.3.6.1.4.1.36.2.15.2.99.4
1.3.6.1.4.1.36.2.15.2.99.4.1

Advertisement

Table of Contents
loading

Table of Contents