This post is more than 5 years old
7 Posts
0
2831
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
finbarrcorksac
99 Posts
0
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.
Garry3
7 Posts
0
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