History mib objects – HP 445946-001 User Manual

Page 159

Advertising
background image

Remote monitoring

159

Requested buckets (

/cfg/rmon/hist x/rbnum

) are the number of buckets, or data slots, requested by

the user for each History Group. Granted buckets (

/info/rmon/hist x/gbnum

) are the number of

buckets granted by the system, based on the amount of system memory available. The system grants a

maximum of 50 buckets.
Use an SNMP browser to view History samples.

History MIB objects

The type of data that can be sampled must be of an ifIndex object type, as described in RFC1213 and

RFC1573. The most common data type for the history sample is as follows:

1.3.6.1.2.1.2.2.1.1.x -mgmt.interfaces.ifTable.ifIndex.interface

The last digit (

x

) represents the interface on which to monitor, which corresponds to the port number

(1-16, 18-21). History sampling is done per port, by utilizing the interface number to specify the port

number.

Configure RMON History (CLI example)

1.

Enable RMON on each port where you wish to collect RMON History.

>> /cfg/port 21/rmon (Select Port 21 RMON)

>> Port 21# ena (Enable RMON)

>> Port 21 RMON# apply (Make your changes active)

>> Port 21 RMON# save (Save for restore after reboot)

2.

Configure the RMON History parameters.

>> /cfg/rmon/hist 1 (Select RMON History 1)

>> RMON History 1# ifoid 1.3.6.1.2.1.2.2.1.1.21

>> RMON History 1# rbnum 30

>> RMON History 1# intrval 120

>> RMON History 1# owner “Owner_History_1”

3.

Apply and save the configuration.

>> RMON History 1# apply (Make your changes active)

>> RMON History 1# save (Save for restore after reboot)

This configuration creates an RMON History group to monitor port 21. It takes a data sample every two

minutes, and places the data into one of the 30 requested buckets. After 30 samples are gathered, the

new samples overwrite the previous samples, beginning with the first bucket. Use SNMP to view the data.

Advertising