This post is more than 5 years old
12 Posts
0
8630
VPLEX-Monitoring using python
hi,
i want to write a basic health check script using python.
Does someone has a sample of a script like this ?
do i have to enter the service password in order to run it ?
thanks.
garyo
89 Posts
0
April 17th, 2018 14:00
I uploaded a copy of the files to ECN: clientscripts.zip - Sample Perl and Python scripts for VPLEX RESTful API
Gary
ankur.patel
286 Posts
0
March 28th, 2018 13:00
I never tried via python, but there is a cli command health-check that can be run via the API
benzik1
12 Posts
0
March 28th, 2018 23:00
how can i run it via the api ?
ankur.patel
286 Posts
0
March 29th, 2018 08:00
https://support.emc.com/docu80971_VPLEX-GeoSynchrony-6.0.1-Element-Manager-API-Guide.pdf?language=en_US
The api guide may help
If you search for health-check you will see its one of the supported commands
ankur.patel
286 Posts
1
April 2nd, 2018 16:00
the location of the clientscripts.zip file mentioned is /opt/emc/vplex/ on the management server
ms123456
2 Posts
0
January 29th, 2019 06:00
Hello Ankur,
Thanks for your earlier posts, its helpful.
I am trying to get the list of virutal-volume using rest api by using the following command.
curl -k -H "Username:uuuuuu" -H Password:ppppppp" -d '{"args": "-a /clusters/cluster-2/virtual-volumes"}' -X GET 'https://xx.xx.xx.xx/vplex/clusters/cluster-2/virtual-volumes/'
All I get is the prompt sign ">" after using the command. Any help or suggestion will be appreciated.
ankur.patel
286 Posts
0
May 2nd, 2019 14:00
Not sure if you figured this out by I think there is an error in the syntax
curl -u Username:Password -d '{"args": "-a /clusters/cluster-2/virtual-volumes"}' -X GET 'https://xxx.xxx.xxx.xxx/vplex/clusters/cluster-2/virtual-volumes/'
IPro66
1 Message
0
August 27th, 2022 07:00
Hi Garyo. I am trying to get the sample scripts but the link does not work anymore. Is there another way to obtain these scripts?
DELL-Josh Cr
Moderator
Moderator
•
8.7K Posts
0
August 29th, 2022 06:00
Hi,
Thanks for your question about Vplex monitoring. Try this link https://dell.to/3wBubna
Let us know if you have any additional questions.