Example – HP Intelligent Management Center Licenses User Manual

Page 282

Advertising
background image

Example

Query and list the level-4 alarms from the 10th to the 20th entries.

Request

GET http://imc_host:8080/imcrs/fault/alarm?alarmLevel=4&start=10&size=10
accept: application/xml
...

Response

HTTP/1.1 200 OK
Content-Type: application/xml
...

<list>
<alarm>
<id>3655</id>
<OID>1.3.6.1.4.1.2011.10.4.1.1.2.6.4</OID>
<originalType>3</originalType>
<originalTypeDesc>iMC</originalTypeDesc>
<deviceId>347</deviceId>
<deviceIp>10.153.88.34</deviceIp>
<deviceName>Quidway</deviceName>
...
<alarmDetail>http://imc_host:port/imcrs/fault/alarm/3655</alarmDetail>
</alarm>
...
<link rel="previous" href="http://imc_host:port/imcrs/fault/alarm?start=0&size=10&alarmLevel=4"/>
<link rel="next" href="http://imc_host:port/imcrs/fault/alarm?start=20&size=10&alarmLevel=4"/>
</list>

282 Network Alarm Management

Advertising