3.1 AddMIB

Use this Knowledge Script to add MIB (management information base) files to the MIB tree that is monitored by the SNMPTrap Knowledge Script. The MIB files should be ASN.1 text files with .txt or .my file extensions. The MIB files should not be compiled MIB files.

With this script you can copy a MIB file from an arbitrary directory to the MIB tree located in the AppManager directory\bin\MIBs directory. And, by using the Reload MIB tree? parameter, you can reload all MIBs in the tree without restarting the AppManager agent. A restart of the AppManager agent automatically reloads the MIB tree.

Scenarios for using this script include the following examples:

In This Scenario

Set These Parameters

You want to add a MIB file to the MIB tree, but do not want the addition to take effect until after the next restart of the AppManager agent.

Full path to MIB files and List of MIB files: Provide location and name of MIB file you want to add.

Reload MIB tree?: Set to No (unselected).

You manually copied a MIB file to the MIB directory and want to reload all MIBs in the directory.

Full path to MIB files and List of MIB files: Leave blank.

Reload MIB tree?: Select Yes.

MIB reload timeout: Set new timeout value or accept default of 10 seconds.

To fix compiler errors, you edited some MIBs in the MIB directory. Now you want to reload the MIBs to ensure the errors have been fixed.

Full path to MIB files and List of MIB files: Leave blank.

Reload MIB tree?: Select Yes.

MIB reload timeout: Set new timeout value or accept default of 10 seconds.

3.1.1 Resource Object

AvayaCM Trap Receiver object

3.1.2 Default Schedule

By default, this script runs once.

3.1.3 Setting Parameter Values

Set the following parameters as needed.

Parameter

How to Set It

Full path to MIB files

Specify the full path to the folder that contains the MIB files you want to install. The AppManager agent on the proxy agent computer must have network access to the location you specify.

List of MIB files

Provide a comma-separated list of the MIB files you want to install. The MIB files should be ASN.1 text files with .txt or .my file extensions. The MIB files should not be compiled MIB files.

The MIB files you specify must be located in the folder you identified in the Full path to MIB files parameter.

Reload MIB tree?

Select Yes to update the MIB tree.

MIB reload timeout

Specify the length of time AppManager should attempt to update the MIB tree before timing out and raising a failure event. The default is 10 seconds.

Event Notification

Raise event if installation and reloading of MIB tree succeeds?

Select Yes to raise an event if installation of the MIB files and reloading of the MIB tree succeeds. The default is Yes.

NOTE:Reloading of the MIB tree can be successful even if no new MIB files are installed. Reloading of the MIB tree can proceed even if you provide no MIB files in the List of MIB files or Full path to list of MIB files parameter.

Event severity when installation and reloading of MIB tree succeeds

Set the severity level, from 1 to 40, to indicate the importance of an event in which the installation of MIB files and the reloading of the MIB tree succeeds. The default is 25.

Raise event if reload MIB parser warnings received?

Select Yes to raise an event if warning messages are received during the reload process. The default is Yes.

Warning scenarios include:

  • MIBs are installed successfully but the Reload MIB tree? parameter is not set to Yes.

  • Not all specified MIB files were loaded to the MIB tree.

Event severity when reload MIB parser warnings received

Set the severity level, from 1 to 40, to indicate the importance of an event in which warning messages are received during the reload process. The default is 15.

Raise event if installation and reloading of MIB tree fails?

Select Yes to raise an event if AppManager fails to install or reload the specified MIB files. The default is Yes.

Failure scenarios include:

  • MIB reload timeout period expired.

  • Not all specified MIB files were installed.

Event severity when installation and reloading of MIB tree fails

Set the severity level, from 1 to 40, to indicate the importance of an event in which the installation or reloading of the MIB tree fails. The default is 10.

Raise event with the list of currently installed MIBs?

Select Yes to raise an informational event that provides a list of all MIBs installed in the MIB tree. The default is Yes.

Event severity for the list of currently installed MIBs

Set the severity level, from 1 to 40, to indicate the importance of an event that provides a list of all MIBs installed in the MIB tree. The default is 25.