Announcement Banner

benzik1

updated

9 years ago

B

benzik1

12 Posts

0

8785

March 21st, 2018 08:00

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

    7989

    0

    Posted April 17th, 2018 14:00

  • ankur.patel

    2 Intern

    •

    286 Posts

    7989

    0

    Posted 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

    7989

    0

    Posted March 28th, 2018 23:00

    how can i run it via the api  ?

  • ankur.patel

    2 Intern

    •

    286 Posts

    7991

    0

    Posted 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

    2 Intern

    •

    286 Posts

    7991

    1

    Posted April 2nd, 2018 16:00

    the location of the clientscripts.zip file mentioned is /opt/emc/vplex/  on the management server

  • ms123456

    2 Posts

    7922

    0

    Posted 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

    2 Intern

    •

    286 Posts

    6098

    0

    Posted 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

    1603

    0

    Posted 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

    Community Manager

    •

    9737 Posts

    •

    44383 Points

    1572

    0

    Posted 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.