Provide MIB object information in MIBS.DATA

Like other SNMP managers, when you enter the z/OS® UNIX snmp command you can specify the object identifier (OID) of the MIB object whose value you want to retrieve. If the MIB object is supported by one of Communication Server's SNMP functions, you can also use the MIB object textual name on the z/OS UNIX snmp command, instead of the object identifier. All the MIB objects supported by Communications Server functions are listed in the MIB objects appendix in z/OS Communications Server: IP System Administrator's Commands.

For example, to retrieve the SNMP agent sysUpTime MIB object, you can enter either of the following commands:

The 1.3.6.1.2.1.1.3 value is the OID for the sysUpTime MIB object.

If you have user-defined MIB objects or MIB objects from other products, and you want to use the textual names for these MIB objects on the z/OS UNIX snmp command, you can define these objects to the snmp command using the MIBS.DATA file. A sample of the MIBS.DATA file is installed as file /usr/lpp/tcpip/samples/mibs.data. Copy this sample and modify it for your installation. For the search order used to locate the MIBS.DATA file, see Understanding search orders of configuration information.

If other products provide files using MIBS.DATA syntax, append the statements from their files to your MIBS.DATA file so that these statements are accessible to the snmp command. For example, the IBM® OSA-Express Direct subagent provides a file in MIBS.DATA syntax so that the textual names of its OSA-Express management data can be used with the z/OS UNIX snmp command. For information about how to obtain this file, see zEnterprise System and System z10 OSA-Express Customer's Guide and Reference.