ProLiant BL p-Class GbE2 Interconnect Switch Application Guide
Remote monitoring 138
Alarm MIB objects
The most common data types used for alarm monitoring are ifStats: errors, drops, bad CRCs, and so on. These
MIB Object Identifiers (OIDs) correlate to the ones tracked by the History group. An example of an ICMP stat is
as follows:
1.3.6.1.2.1.5.1.0 – mgmt.icmp.icmpInMsgs
The last digit (x) represents the interface on which to monitor, which corresponds to the interface number, or port
number, as follows:
1-256 = IF 1-256
257 = port 1
258 = port 2
…
280 = port 24
This value represents the alarm’s MIB OID, as a string. Note that for non-tables, you must supply a .0 to specify
end node.
Configure RMON group 3 (CLI example 1)
1. Configure the RMON Alarm parameters to track the number of packets received on a port.
>> /cfg/rmon/alarm 6 (Select RMON Alarm 6)
>> RMON Alarm 6# oid 1.3.6.1.2.1.2.2.1.10.275
>> RMON Alarm 6# intrval 3600
>> RMON Alarm 6# almtype rising
>> RMON Alarm 6# rlimit 2000000000
>> RMON Alarm 6# revtidx 6
>> RMON Alarm 6# sample abs
>> RMON Alarm 6# owner “Alarm_for_ifInOctets”
2. Apply and save the configuration.
>> RMON Alarm 6# apply (Make your changes active)
>> RMON Alarm 6# save (Save for restore after reboot)
This configuration creates an RMON alarm that checks ifInOctets on port 19 once every hour. If the statistic
exceeds two billion, an alarm is generated that triggers event index 6.
Configure RMON group 3 (CLI example 2)
1. Configure the RMON Alarm parameters to track ICMP messages.
>> /cfg/rmon/alarm 5 (Select RMON Alarm 5)
>> RMON Alarm 5# oid 1.3.6.1.2.1.5.8.0
>> RMON Alarm 5# intrval 60
>> RMON Alarm 5# almtype rising
>> RMON Alarm 5# rlimit 200
>> RMON Alarm 5# revtidx 5
>> RMON Alarm 5# sample delta
>> RMON Alarm 5# owner “Alarm_for_icmpInEchos”
2. Apply and save the configuration.
>> RMON Alarm 5# apply (Make your changes active)
>> RMON Alarm 5# save (Save for restore after reboot)
This configuration creates an RMON alarm that checks icmpInEchos on the switch once every minute. If the
statistic exceeds 200 within a 60 second interval, an alarm is generated that triggers event index 5.