generateTrapdAndMibUnix

Last Updated : Jul 08, 2015 |

The generateTrapdAndMibUnix converts the Common Alarm Definition File (CADF) xml file to MIB file (.my) and trapd (.conf) file. The tool converts only CADF files with notification OIDS that are specified in the X.X.X.productID.0.n format, where n is the notification OID.

Syntax

generateTrapdAndMibUnix.sh [-l absolute path to cadf file] [-m 
 MIB name] [-i MIB item name] [-p product ID] [-n product name][-a author]

Example

generateTrapdAndMibUnix.sh [-l /op/Avaya/SMGR_CommonAlarmDefn_Data.xml] [-m 
AV-AURA-SYSTEM-MANAGER-MIB] [-i avAuraSysMgr] [-p 25] [-n Avaya Aura System Manager][-a Avaya]

Considerations

You must provide all parameters. To provide the parameters later, you must edit the generated MIB file and trapd file. The system saves the generated artifacts in the same folder as that of the CADF file. Ensure that you have required disk space and file permissions.