HP 1:10Gb Ethernet BL-c Switch for c-Class BladeSystem Application Guide

Remote monitoring
158
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 Alarms (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.276
>> 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 20 once every hour. If the
statistic exceeds two billion, an alarm is generated that triggers event index 6.
Configure RMON Alarms (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.