Go to the SNMPz home page

smi2xml

The SNMPz MIB manager reads SNMP SMI files, and also reads XML files conforming to a proposed schema specified by Muonics (the author is not affiliated with Muonics).

smi2xml is a desktop Java application that converts SMIv1 and SMIv2 files into XML according to the XML-SMI version 2.0 schema, with the exception that it does not capture SMI comments into the XML. It performs minimal checking of the content, but should not be used to validate MIB modules for strict compliance to the SMI (the goal is to produce usable results rather than error reports!).

XML files produced by smi2xml can be transferred to a PDA and loaded into the SNMPz database.

Usage

smi2xml requires a Java Runtime Environment version 1.2 or greater (1.4.0 is used by the author).

% java -jar smi2xml-x.x.jar -o smi.xml *.smi

where "x.x" is the smi2xml release number, "smi.xml" is the XML file to be generated, and "*.smi" is the list of SMIv1 and SMIv2 files to be converted (ordering of SMI files and inter-dependencies of the SMI modules is unimportant).