Guest

IP Application Services

An Example of Data Collection and Thresholding in NetView and HPOV

Document ID: 13431

Updated: Oct 26, 2005

   Print

Introduction

Cisco numeric value mibs can be polled and thresholded through NetView or HPOV. The NetView and HPOV online-documentation, training materials, and manuals explain this process in detail. This document gives an example of how you can generate an event to go to the NetView/HPOV events area when "ifInOctets" on Digdug (the router in this example) exceed 17000000.

Prerequisites

Requirements

There are no specific requirements for this document.

Components Used

This document is not restricted to specific software and hardware versions.

Conventions

Refer to Cisco Technical Tips Conventions for more information on document conventions.

Example

Complete these steps:

  1. In order to go to the Data Collection and Threshold area, enter xnmcollect from the command line, or Options (HPOV) and then Data Collection and Thresholds, or Tools (NetView) and then Data Collection and Thresholds.

    The MIB Data Collection window will come up.

  2. Click the Add button in the middle right screen. (On HPOV 4.x, this is Edit/Add/Mib Objects from the top pull-down.)

    The Mib Data Collection/Mib Object Selection window will come up.

  3. Click management and go down the tree to mib-2, interfaces, ifTable, ifEntry, ifInOctets. With this highlighted, click Describe in order to confirm that this is what you want. Then, select close, and then ok.

    Note: If this causes an error by being part of a canned collection, you can choose something else.

    The Mib Data Collection/Add Collection window will appear.

  4. Enter the source router for collection (Digdug in this example) and click Add.

    In the Collection Mode area, there are four options:

    • Don't Store, Check Thresholds

    • Store, No Threshold

    • Store, Check Threshold

    • Exclude Collection

  5. Choose Don't Store, Check Threshold and fill in the polling interval. Choose 1h (hourly); the default trap number is 58720263.

  6. Fill in the value 17000000 for threshold.

    The re-arm value is to indicate that after the trap is generated when the threshold value is exceeded, it will not be generated again until after the re-arm value is reached. Therefore, you fill in 16000000, so when 17000000 is exceeded, no more traps until dip to 16000000.

  7. On instances, choose From List, then fill in 1 (i.e. ifIndex 1, your ethernet).

  8. Click ok.

    When you return to the MIB Data Collection window, in the top area it shows:

    Collecting ifInOctets .1.3.6.1.2.1.2.2.1.10

    When 17000000 ifInOctets are exceeded, an event appears in the NetView/HPOV event window:

    Mon Nov 25 16:50:54 1996 digdug.rtp.cisc D ifInOctets 1 threshold exceeded
     (>17000000):  17373433
    .1.3.6.1.2.1.2.2.1.10 
    SPECIFIC :58720263 (hex: 3800007)
    GENERIC  :6
    CATEGORY  :Threshold Events
    ENTERPRISE  :netView6000 1.3.6.1.4.1.2.6.3.1
    SOURCE  :Data Collector(D)

Related Information

Updated: Oct 26, 2005
Document ID: 13431