2.10 Defining extended MIB objects
To define extended MIB objects, use one of the following extended MIB definition files:
-
/etc/SnmpAgent.d/snmpd.extend file
-
Extended MIB definition file under the /opt/CM2/ESA/ext directory. For the extension of the extended MIB definition file, specify def.
This manual describes how to define extended MIB objects using /etc/SnmpAgent.d/snmpd.extend as the name of the extended MIB definition file. If you want to store the extended MIB definition file under the /opt/CM2/ESA/ext directory, the procedure is the same as the one for adding more than one extended MIB definition file. For details, see 2.10.10 Configuring more than one extended MIB definition file.
To enable the manager to access the MIB objects defined in SNMP Agent, you must specify MIB modules according to the rules specified in the following RFCs:
-
RFC 1155: Structure and Identification of Management Information for TCP/IP-based Internets
-
RFC 1212: Concise MIB Definitions
The following figure shows the procedure for defining extended MIB objects and the related subsections.
|
You can set multiple extended MIB definition files in SNMP Agent. For details about how to define multiple extended MIB definition files, see 2.10.10 Configuring more than one extended MIB definition file.
SNMP Agent provides the /opt/OV/prg_samples/eagent/snmpd.extend file as a sample extended MIB definition. For examples of MIB object definition and creation of an extended MIB definition file (/etc/SnmpAgent.d/snmpd.extend), see 2.10.11 Example of extended MIB object definition.