User`s guide

Open Systems and Windows NT Appendix 4: MIB to Dictionary Compiler
Introduction
Creating Table and Variable Definitions from a MIB
Prerequisites
Actions
Introduction
In the master data dictionary, IT Service Vision supplies table and variable definitions for the data from many collectors. For
those data, you can use the supplied table and variable definitions (after adding them from the master data dictionary to your
PDB). For other data, you can create the table and variable definitions in your PDB by running the IT Service Vision
%CPDDUTL macro with CPDDUTL control statements that define the tables and variables.
You can write the CPDDUTL control statements yourself. But for SNMP data (all of which are described with a MIB) there is
an easier way to generate the necessary control statements that add the MIB tables and variables to your PDB. The IT Service
Vision mib2dict compiler takes as input any SNMP V1 or V2 MIB and produces as output CPDDUTL control statements
that can be read directly by the %CPDDUTL macro to define IT Service Vision tables and variables. The mib2dict compiler
can optionally produce SAS statements for input to the SAS FORMAT procedure so that you can add formats for MIB
enumeration types.
As an example, this appendix walks you through the steps needed to create table and variable definitions for MIB-II data. The
same steps apply for any MIB. We use MIB-II as an example because of its simplicity and familiarity. If you want to use MIB-II
tables in your PDB, you do not actually need to use mib2dict because all the MIB-II tables are included in the master data
dictionary that is shipped with IT Service Vision. (MIB-II table names begin with M.)
Note:
For more information about the %CPDDUTL macro, see the Macro Reference documentation for IT Service Vision
.
Note: For more about collecting data using the other MIBs for which IT Service Vision supplies tables, see the UNIX
information in Section 3: Advanced Setup
.
Note: If you need to know more about the MIB for one of your hardware devices, check the hardware documentation or call the
manufacturer of the device. There are proprietary MIBs and public domain, Internet standard MIBs. If the MIB is a proprietary
MIB, the hardware installation procedure probably copied it to a directory at your site and/or you can probably find a copy on
the manufacturer’s web page. If the MIB is a standard MIB, the copy is probably on the web page
http://ds.internic.net/.
Creating Table and Variable Definitions from a MIB
Prerequisites
1. The IT Service Vision server Release 1 or later is installed on your SAS host machine.
2. The IT Service Vision server software is running, and the PDB to which you want to add the tables is the active
PDB.
3. You are familiar with the mib2dict man page.
To view the man page, execute the following (assuming that SAS has been installed in
/usr/local/sas
):
cd /usr/local/sas/utilities/man/man1
nroff -man mib2dict.1 | more
4. The MIB that you want to compile conforms to SNMPv1 or SNMPv2 standards .