Garry3
Nickel

VMAX REST API Remote Metrics

Jump to solution

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

Labels (1)
Tags (1)
0 Kudos
2 Replies

Re: VMAX REST API Remote Metrics

Jump to solution

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.

0 Kudos
Garry3
Nickel

Re: VMAX REST API Remote Metrics

Jump to solution

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

0 Kudos