Query top n alarming devices, Interface uri, Access method – HP Intelligent Management Center Licenses User Manual

Page 291: Returned result, Interface uri access method returned result

Advertising
background image

Query Top N Alarming Devices

Query and list top N devices that include the specified alarm level.

Interface URI

/fault/alarmDevice

Access Method

HTTP

GET

Parameters

Query parameters

Alarm level.

alarmLevel

Integer type, supporting multiple elements. Optional. No default value. For the valid values, see
Query Alarm Levels.

The total number of returned records.

size

Integer type. Optional. The default value is 10. If a negative value is uploaded, the default value is
used.

Returned Result

Status codes

200 (OK): Success.

Message header

Message body

<list>
<alarmDevice>
<device>http://imc_host:8080/imcrs/plat/res/device/181</device>
<alarmCount>3</alarmCount>
<alarmLevel>1</alarmLevel>
...
</alarmDevice>
</list>

Elements

alarmDevice sub-elements

Device ID.

deviceId

Long integer type.

The total number of alarms of the specified level.

alarmCount

Long integer type.

Alarm level.

alarmLevel

Integer type.

Query Top N Alarming Devices

291

Advertising