Unisphere for PowerMax: RESTAPI Call Getting Same Value for Average and Maximum Data Format
Summary: RESTAPI call is returning the same values for Average and maximum Data Format.
Symptoms
Getting the same values for the Average and Maximum parameters for any performance metrics when sending RESTAPI call to the Unisphere for PowerMax.
Sample RESTAPI call snippet for "Average"
root@testlab]# curl -X POST \
-k
-u 'monitor: Password@0' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'
"symmetrixId": "00029xxxxxxx",
"endDate": 1757415180000,
"startDate": 1757414880000,
"metrics": ["HostIOs"],
"dataFormat": "Average"
'https://11.22.33.44:8443/univmax/restapi/performance/Array/metrics'
"resultList": ("result": [("HostIOs":94566.88, "timestamp": 1757415000000}], "from":1, "to":2), "id": "3f141131-c87c-4f71-aa85-c3c54bca0la0_0", "count":2, "expirationTime": 1757585086921, "maxPageSize": 1000}
Sample RESTAPI call snippet for "Maximum"
root@testlab]# curl -X POST \
Fk
-u 'monitor:Password@0' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
"symmetrixId": "00029xxxxxxx",
"endDate": 1757415180000,
"startDate": 1757414880000,
"metrics": ["HostIOs"],
"dataFormat": "Maximum"
'https://11.22.33.44:8443/univmax/restapi/performance/Array/metrics'
"resultList": ("result": [("HostIOs":94566.88, "timestamp": 1757415000000)], "from":1, "to":2), "id": "cd0ada0c-laf2-4603-b72a-2bcde75c2721_0", "count":2, "expirationTime": 1757585111960, "maxPageSize": 1000)
HostIOS is the same for both Average and Maximum.
Tried using other metric: https://xxx.xx.xxx.xx:8443/univmax/restapi/performance/FEDirector/metrics
Metrics QueueDepthUtilization is giving the same values for both Average and Maximum parameters.
Cause
The array must also be registered for realtime stats in Unisphere for PowerMax UI to get the maximum values.
Resolution
Register the array for realtime stats in Unisphere for PowerMax UI.
Once realtime stats are enabled, the highest recorded interval from the measured 5 s intervals within the 5 minute period is reported.