Previous Topic: Verify the AutowatcherNext Topic: How to Monitor a Specific Windows Performance Registry Metric


How to Monitor User-specific Metrics (MIB Extensions)

This step-by-step example describes how to monitor a user-specific metric.

How to monitor user-specific metrics (MIB extensions)

  1. Create a program that returns the data required. For example, a simple DOS batch script on the agent system to return some fixed data.
    @echo off
    echo 99
    
  2. Open a text editor and store these two lines in data.bat on the C: drive.
  3. Create an MIB extension that references this batch file.
    1. From the user interface, click Policy, open Configuration in the navigation pane, expand the Policy tree, and open a SystemEDGE policy.

      The policy details appear in the right pane.

    2. Click the MIB Extensions tab.

      The MIB Extensions pane opens.

    3. Add the following data into the fields:

      Index: 1 (if it is the first MIB extension)

      Type: integer

      Extension Command: C:\data.bat

      Access Rights: Read Only

    4. Click Add.

      The MIB Extension is added to the Policy.

    5. Click Save Policy.

      The policy is saved.

  4. Create a threshold monitor to check the value of the new monitor.
    1. Click Monitors and then Thresholds.

      The Threshold Monitor Details Edit pane appears.

    2. Add the following data into the fields:

      Index: (automatically added)

      Platform: OS Independent

      Object Class: extensionGroup [Extended mib from adding new scalar variables]

      Object Attribute: 1

      Object Instance Name: MyData

      Interval: 60

      Severity: Major Alarm

      Operator: greater than or equal to

      Value: 50

      Scale: 1

      Sample Type: absolute value

    3. Click Save.

      The policy is saved. A ‘major’ alarm with threshold ‘50’ is added. This threshold will be breached immediately as the script created previously always returns the value ‘99’.

    4. Click Action and then Apply, to apply the policy to a computer.

      The Selected Machines pane appears.

    5. Verify that the selected machines are correct and click Apply.

      The policy with the MIB extension is applied to the selected computers.

      Click Return to Policy.

      The policy details pane appears.

Once the agent is configured, you can view the state of this threshold monitor from the Resources tab. You can see that the “major” threshold has been breached.