|Skip Navigation Links|
|Exit Print View|
|Sun Datacenter InfiniBand Switch 36 HTML Document Collection for Firmware Version 2.0|
Note - The entity numbers used in this procedure are for example only. Your entity numbers might differ, depending on the switch firmware and configuration.
$ snmpget -v2c -c public mc_IP SUN-PLATFORM-MIB::sunPlatEquipmentAlarmStatus.number
where number is the entity number.
For example, to determine the overall switch alarm state, use the entity number respective to the /SYS/CHASSIS_STATUS aggregate sensor target. This example uses entity number 25:
$ snmpget -v2c -c public mc_IP SUN-PLATFORM-MIB::sunPlatEquipmentAlarmStatus.25 SUN-PLATFORM-MIB::sunPlatEquipmentAlarmStatus.25 = INTEGER: cleared(7) $
In the output, the INTEGER: cleared(7) indicates the alarm state for the sensor is clear. These alarm states are possible:
INTEGER: critical(1) – A critical alarm has occurred.
INTEGER: major(2) – A major alarm has occurred.
INTEGER: minor(3) – A minor alarm has occurred.
INTEGER: indeterminate(4) – The alarm is indeterminate, or not applicable.
INTEGER: cleared(7) – The alarm has been cleared.