3.2 Managing a Model Repository Structure

When you set up the SNMP adapter, it is necessary to create a model structure to organize data originating from the MIBs.

Three types of objects are available to create the structure for the Model Repository:

  • Containers: Placeholder objects, similar to a folder, that can logically group other, “contained” objects.

    For more information, see Section 3.2.2, Creating Repository Containers.

  • Collectors: Containers that can also have properties that point directly to specific MIB values within an agent. Collectors allow you to select managed objects from wherever they normally live in the Model Repository and collect them in one central place.

    For more information, see Section 3.2.3, Creating Repository Collectors.

  • Branches: Allows selecting a MIB branch from an exact point downwards in the MIB metadata tree.

    For more information, see Section 3.2.4, Creating Repository Branches.

The following sections provide instructions on creating structure for the Model Repository:

3.2.1 Browsing the Model Repository

To browse the model repository:

  1. In the Explorer pane, expand the Elements root element.

  2. Right-click the SNMP Adapter element, then select Model Repository to open the Browse Model Repository dialog box:

    Browse Model Repository Dialog
  3. Double-click each item to browse its branch of the tree.

    Selecting an item shows basic information displayed in the pane to the right.

3.2.2 Creating Repository Containers

A container is simply a placeholder object that can be used to logically group other, “contained” objects. A container is analogous to a folder.

Adding Containers to the Model Repository

To add containers to the model repository:

  1. In the Browse Model Repository dialog box, right-click an item, then select Add > Container.

    A new container (folder) is added to the tree view:

  2. Use the fields displayed in the right pane to update the name and class for the new container.

Removing a Container from the Model Repository

To remove a container from the model repository:

  1. In the Browse Model Repository dialog box, right-click a container, then select Remove.

    The container is removed from the tree.

3.2.3 Creating Repository Collectors

Collectors allow you to select managed objects from various locations and collect them in a central place. A collector is a container that also is made up of properties, which point directly to specific MIB values within an agent. These properties can have user-defined thresholds assigned to them, which is a way to model state within the adapter.

Adding Collectors to the Model Repository

To add collectors to the model repository:

  1. In the Browse Model Repository dialog box, right-click an item, then select Add > Collector.

    A new collector is added to the tree view.

  2. Specify the name and class for the collector.

  3. Continue to Adding Properties to a Collector.

Adding Properties to a Collector

To add properties to a collector:

  1. In the Browse Model Repository dialog box, browse, then select the collector item.

  2. Click Add to open the Create Collector Property dialog box:

  3. Specify a name for the property.

  4. Under MIB Address, click (Ellipse) to browse, then select the appropriate MIB node.

    Making a selection fills in the OID and MIB Address fields.

  5. (Optional) Specify Data Points to Retain for this property (Historical Data).

  6. (Optional) Select the Enable Threshold Calculation check box to specify conditions for generating alarms.

    Then, specify the condition threshold values:

    1. From the Expression Condition drop-down list, select the element condition that triggers the element condition change alarm.

      This is used in conjunction with the Violation Counter value.

    2. In the Violation Counter field, specify the number of times the threshold can be reached before the element condition change is issued.

      For example, if the Expression Condition is Critical and the Violation Counter is 2, an element condition change is issued after an element reaches the Critical condition twice.

  7. Select the Generate Alarm when Condition Is Set check box to issue an alarm when the threshold is violated using the Violation Counter and Expression Condition values.

    If deselected, no alarm is issued.

    Then, select one of the following options to determine which action is performed after an alarm is issued:

    • Generate clear alarm after condition is reset: Clears the alarm when the element’s condition is reset.

    • Maintain condition until acknowledged by operator: Locks the element’s condition until it is manually released when the alarm is acknowledged.

  8. Define the violation trigger threshold using an Expression Type and corresponding Value settings together to define the violation trigger threshold:

    Expression Type

    Evaluates Expressions…

    Above

    Above the specified value.

    Below Value

    Below the specified value.

    Between

    Containing values between the specified minimum and maximum.

    String

    Whose results match the specified string.

    Define the string value using equals, contains, starts with, ends with, or matches (regex) operators.

    Select the Invert result value (Boolean “not”) check box to evaluate the inverse of the string specified.

    For example, select Above as the Expression Type to monitor values that exceed the number specified in the Expression's Above Value field.

  9. When the definition is complete, click OK to save the collector property.

Editing Collector Properties

To update collector properties:

  1. Select the property item in the Collector Property list.

  2. Click Change to open the Edit Collector Property dialog box.

  3. Update the information, then click OK.

3.2.4 Creating Repository Branches

Branches are extracted from the MIB metadata tree. A branch is a convenient monitoring point that allows a whole class of information to be duplicated within Operations Center from the target host/device.

Keep in mind when creating a branch object, that potentially a large amount of data must be collected to build the branch hierarchy; using a small subset of a MIB branch is likely the best approach to collecting this data.

To add branches to the Model Repository:

  1. In the Browse Model Repository dialog box, right-click a folder or container, then select Add > Branch.

    A new branch is added to the tree view:

  2. Use the properties displayed in the right pane to update the name and class for the new branch.

  3. Click Choose MIB Branch to browse, then select the appropriate MIB branch.

  4. Select the Display Top Node of Branch (Branch Root) check box to display the top object of the MIB branch as a Operations Center child element.

  5. Select the Display Child Branch Elements check box to show all child elements of the selected MIB branch in the Operations Center hierachy tree.

In the figure in Step 1, child branches for the IP Resources branch are selected for display. Therefore, any host or device element set up in Operations Center with Windows 2000 as a selected model automatically has the MIB child elements under the IP Resources element, as shown in Figure 3-4. Notice how the entire structure under the Enzo element corresponds to the Windows 2000 structure, as set up in the Model Repository.

Figure 3-4 Selected branches defined in the Model Repository display under the enzo element in the Operations Center console

3.2.5 Removing Containers, Collectors, and Branches

Any of the model objects can be easily deleted from the Model Repository.

To remove a model object from the Model Repository:

  1. In the Browse Model Repository dialog box, right-click the item, then select Remove.

    The container, collector, or branch is removed from the tree.