HP Intelligent Management Center Extended API User Guide

Query Single-Index TopN Data
Query single-index topN data with certain criteria.
Interface URI
/perf/topNData
Access Method
HTTP
GET
Parameters
Query parameters
Index ID.taskId
Integer type. Required. No default value. For the valid values, see Query Performance Indexes.
Start time.beginTime
Long integer type. Optional. The value is the seconds counted from 00:00 on January 1, 1970 to
the specified time.
End time.endTime
Long integer type. Optional. The value is the seconds counted from 00:00 on January 1, 1970 to
the specified time.
Number of entries.topN
Integer type. Optional. The default value is 5.
Returned Result
Status codes
200 (OK): Success.
Message header
HTTP/1.1 200 OK
Message body
<list>
<perfTopNData>
<taskId>1</taskId>
<devId>42</devId>
<instId>831</instId>
<objIndex>4228057</objIndex>
<objIndexDesc>[interface:GigabitEthernet1/1/3]</objIndexDesc>
<dataVal>18017.037</dataVal>
<thresholdQuadrant>0</thresholdQuadrant>
<alarmLevel>-1</alarmLevel>
</perfTopNData>
...
</list>
Query Single-Index TopN Data 341