Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

2831

February 9th, 2017 14:00

VMAX REST API Remote Metrics

Hello,

Over the past couple of days I have put together a Python program that retrieves capacity metrics from our four Symms via the REST API.

     First I get the list of Symms using:  ~~/univmax/restapi/system/symmetrix

     Then for each Symm "get" the basic capacity metrics using: ~~/univmax/restapi/provisioning/symmetrix/" + SYMM

    

     These are working. However, I am attempting to also retrieve the count of physical disks and identify whether they are in use or spare but these metrics seem to only be available for "local" Symms. 

     I'm using 'POST' to retrieve a list of the physical disks using: ~~/univmax/restapi/performance/Disk/keys

    

     Then using 'POST' to produce the ~~/univmax/restapi/performance/Disk/metrics.


This only works for the local Symms. Is there another path to retrieve disk metrics for remote Symms?

Thank you.

Garry

February 13th, 2017 01:00

Hi Gary,

I'm afraid we can only collect these metrics for local symms.

If you have any other q's please let me know, for some good python examples please check this out if you haven't seen it before.

https://Github.com/ciarams87/PyU4V

Thanks

Fin.

7 Posts

February 13th, 2017 09:00

Thanks Fin!

I am researching connecting to a remote Unisphere server which is local to the remote Symms.

Thanks for the link to the examples.

Garry

No Events found!

Top