Skip to content

Instantly share code, notes, and snippets.

View abhishekdanej's full-sized avatar
:electron:
Learn and let learn.

Abhishek Danej abhishekdanej

:electron:
Learn and let learn.
View GitHub Profile

Unity Metrics

List all the metrics available on a Dell EMC Unity. Those metrics are available through the API.

How to interpret the path of a metric

2 possibilities:

  • When there is a * in the path, you can use the path as is in your request, the * will be automatically replaced with all the possibilities. For example, if you want to retrieve the amount of memory available on the SPs, you can use the path sp.*.memory.summary.freeBytes. The API will interpret it as if you were requesting the free memory for the SPA and the SPB. If you need this information only for one of the SPs, you can use the path sp.spa.memory.summary.freeBytes
  • When there is a + in the path, you can replace it with the relevant item before requesting the API. For example, if you want to retrieve the CPU utilization of the SPA, you have to modify the path kpi.sp.+.utilization like this kpi.sp.spa.utilization. If you don't replace it, the array will sum up the metrics.