Unsolved

This post is more than 5 years old

1 Rookie

 • 

6 Posts

4622

October 22nd, 2018 16:00

Dell EMC Unity REST API : Historical Performance Metrics regarding

Hello,

I would like to retrieve historical performance metrics for Dell EMC Unity Array using REST API for integrating with an external monitoring tool.

I have gone through various documentations like

https://www.emc.com/dam/uwaem/documentation/unity-p-perf-metrics.pdf

https://www.emc.com/collateral/white-papers/h15161-dell-emc-unity-performance-metrics.pdf

And also REST API - 4.3.0

I have narrowed down on this API - https:// /api/types/metricValue/instances?filter=path EQ " "

Say, I request for CPU utilization summary using

https:// /api/types/metricValue/instances?filter=path EQ "sp.*.cpu.summary.utilization",

I get performance metric for every minute (interval is 60) till date, and I can go to next page to see previous hour/minute data.

However, I would like to filter the response based on interval (granularity) and time period. ie,

  • Performance metrics average for every 5 minutes, 10 minutes, so on

I tried this: https:// /api/types/metricValue/instances?filter=path EQ "sp.*.cpu.summary.utilization"&filter=interval EQ 300

But, I still get metrics average for every 60 seconds and not 5 minutes.

  • Performance metrics from to

      I tried this: https:// /api/types/metricValue/instances?filter=path EQ "sp.*.cpu.summary.utilization"&filter=timestamp GT "2018-10-22T22:46:00Z"

But, I get metrics average for every 60 seconds - Example.  data for "2018-10-22T22:44:00Z" also was sent in the response.


So, I am looking for an equivalent REST API - similar to what exists for a CLI (https://www.emc.com/collateral/white-papers/h15161-dell-emc-unity-performance-metrics.pdf) Page-15:

"You can then use a specific historical metrics path to view corresponding metric values by using the

/metrics/value/hist command path in Unisphere CLI. For this command, you will also need to specify the time interval of the data you wish to see by using the –interval option. The predefined interval values are 60 (1 minute), 300 (5 minutes), 3600 (1 hour), and 14400 seconds (4 hours). You can also specify the start and end times of the period of time you wish to get metrics for by adding –from and –to options"

Kindly suggest.

Thanks in advance!

Regards,

Sindhuja

2 Posts

February 6th, 2019 03:00

I am having exactly same issue with ""sp.*.storage.filesystem.*.readsRate". By any chance did you find the solution? Thanks.

2 Posts

March 8th, 2019 17:00

Ozzie_Xu,

Thank you. You saved my day. I tried to pull out filesystem readRate & by using your notations it's working for me. 'https://ip/api/types/metricValue/instances?filter=(path eq "sp.*.storage.filesystem.*.readsRate") and (interval eq "300") and (timestamp gt "2019-02-02T22:46:00.000Z")' It's working for me. Thanks

No Events found!

Top