- This topic has 2 replies, 2 voices, and was last updated August 10, 2023 by .
Example of Python script for a ZVM linux appliance
The forum ‘Scripting and APIs’ is closed to new topics and replies.
Hello,
I’m running Zerto 10.0 on the Debian ZVM appliance, I’m looking for an example of a working Python3 script connecting to the API and performing a simple task.
Scripts on https://github.com/ZertoPublic/Python-Automation-Examples doesn’t seem up-to-date:
Have a nice day,
There is a simple ‘list VPG’ Python code sample for the ZVM appliance here:
https://github.com/ZertoPublic/zerto-code-samples
Thank you, I’ve managed to make it work.
Creating the client in Keycloak wasn’t easy, I’ve made one with the “viewer” role and it can initiate an evacuation which I find strange. I was thinking of monitoring Zerto with Zabbix and I need to create a read-only user, which role should I use?
The forum ‘Scripting and APIs’ is closed to new topics and replies.