HP Intelligent Management Center Extended API User Guide

Query Alarm Information
Query basic information about an alarm with the specified ID.
In addition to basic alarm information, the result also includes the method for accessing alarm
details and performing related operations.
Interface URI
/fault/alarm/{id}
Access Method
HTTP
GET
Parameters
Path parameters
Alarm ID.id
Long integer type. Required. No default value.
Returned Result
Status codes
200 (OK): Success.
Message header
The message header offers the following resource links with the Link attribute:
Recover alarmrecover
Acknowledge alarmacknowledge
Delete alarmdelete
Message body
<alarmDetail>
<id>3665</id>
<OID>1.3.6.1.4.1.2011.10.4.1.1.2.6.4</OID>
<originalType>3</originalType>
<originalTypeDesc>iMC</originalTypeDesc>
<device>http://imc_host:8080/imcrs/plat/res/device/181</device>
<deviceIp>10.153.88.34</deviceIp>
<deviceName>Quidway</deviceName>
...
</alarmDetail>
Elements
alarmDetail sub-elements
Alarm ID, which uniquely identifies an alarm.id
Long integer type.
Alarm event OID.OID
String type.
Query Alarm Information 283