Mib2lam Command Reference
This is a reference forMib2lam utility that converts MIBS into LAMbots. The mib2lam command-line utility accepts the following arguments:
Argument |
Input |
Description |
---|---|---|
|
String <filename> |
Filename containing configuration options. Defaults to |
|
Boolean |
Include all variable bindings in custom_info.eventDetails. Defaults to |
|
Boolean |
Include all varbinds in the description. Defaults to |
|
Boolean |
Checks for SNMP v1 traps to be forwarded as SNMP v2c traps. Defaults to |
|
Boolean |
Creates a generic function that each trap calls rather than a function per trap. Defaults
to |
|
- |
Display the Mib2lam utility syntax and option descriptions. |
|
DEBUG | INFO | WARN | FATAL |
Log level controlling the amount of information that Mib2lam logs. Defaults to WARN. |
|
String <filepath> |
Filename and path for the Mibparser's output. If you do not supply a file path, it uses a
|
|
String <name> |
Module name. If not entered, the utility prompts for a name to be entered when it runs. |
|
Abstract Syntax Notation One (ASN.1) or text |
Start point in the Object Identifier (OID) tree. This is mandatory. |
|
Integer <related value> |
Returns the related alerts with a certain degree of similarity. The default is 35%. |
|
Integer <severity value> |
Calculates the severity of the trap. To do this, Mib2lam finds and uses a suitable severity bearing variable binding. |
|
- |
Displays the configuration and any defaults. |
|
Integer <similarity value> |
Sets the similarity value between 0 and 100 between two traps for them to be considered related. The default is 35%. |
|
Boolean |
Enable to generate a file of test traps for each trap. Defaults to |
For the Boolean arguments, use=false
to disable any that are enabled by
default. For example, if you did not want to Mib2lam to generate a file of test traps:
./mib2lam --traps=false