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.
There are no specific requirements for this document.
This document is not restricted to specific software and hardware versions.
Refer to Cisco Technical Tips Conventions for more information on document conventions.
Complete these steps:
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.
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.
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.
Enter the source router for collection (Digdug in this example) and click Add.
In the Collection Mode area, there are four options:
Choose Don't Store, Check Threshold and fill in the polling interval. Choose 1h (hourly); the default trap number is 58720263.
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.
On instances, choose From List, then fill in 1 (i.e. ifIndex 1, your ethernet).
When you return to the MIB Data Collection window, in the top area it shows:
Collecting ifInOctets .126.96.36.199.188.8.131.52.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
SPECIFIC :58720263 (hex: 3800007)
CATEGORY :Threshold Events
ENTERPRISE :netView6000 184.108.40.206.220.127.116.11.3.1
SOURCE :Data Collector(D)