• This forum has 150 topics, 318 replies, and was last updated June 28, 2022 by Yossi A.
    • Scripting and APIs
    • Python Automation Examples

      Hello Everyone, We’ve recently been working on creating some open source examples of how to leverage Zerto with Python. For those who might be interested you can now find these open source examples here on GitHub: https://github.com/ZertoPublic/Python-Automation-Examples. We will be continuing to add more examples and welcome feedback you have on these.

    • People: 1
      Replies: 0
    • August 5, 2020
    • Ansible Playbooks

      Hello Everyone, We’ve recently been working on creating some open source examples of how to leverage Zerto with Ansible. For those who might be interested you can now find these open source examples here on GitHub: https://github.com/ZertoPublic/Ansible. We will be continuing to add more playbooks and welcome feedback you have on these.

    • People: 1
      Replies: 0
    • August 5, 2020
    • Updating VPG Description via the API

      I know there is a way to “get” the VPG description via the APIs, but is there a way to modify the VPG description?  Add a description when the VPG is created? Thanks Bill

    • People: 1
      Replies: 0
    • June 28, 2022
    • Powershell Configure VM Failover NIC IP

      Can ANYONE out there provide WORKING powershell code that EXPORTS  VPG VM data – change/input VM FAILOVER NIC IP data and then IMPORTS VPG VM FAILOVER NIC IP DATA This is VERY BADLY needed – I keep finding bits and pieces out in the universe – ZERTO CUSTOMERS NEED THIS FUNCTIONALITY.  WORKING SOLID.  NO ERRORS.  […]

    • People: 3
      Replies: 3
    • June 24, 2022
    • MIB

      Hi to all, the mib package for zerto exist? I have searched but I haven’t find it. Thanks

    • People: 2
      Replies: 1
    • June 6, 2022
    • Powershell ZertoModule

      Hi everyone – I’ve created a wrapper for the REST API that converts most of the calls to pretty standard Powershell commands.  Its pretty simple to use and so far I’ve covered the majority of the API, although some of the VGPSettings are not finished. https://www.powershellgallery.com/packages/ZertoModule Example usage:   <pre class=”EnlighterJSRAW” data-enlighter-language=”csharp”>PS C:\Scripts> Set-Item ENV:ZertoServer […]

    • People: 1
      Replies: 5
    • June 6, 2022
    • Is this the correct process to change VPG via API

      The following code completes without error, but it doesn’t do anything either. Is this even the correct process to change the journal history in an existing VPG? write-host “#1. Get Identifier to use in VPG settings object” $JSONIdentifier=”{““VpgIdentifier””:””103f201a-35f3-4d3e-a5e5-a6010efabfbf””}” $VPGSettingsIdentifierUrl = $BaseURL+”vpgsettings” $VPGSettingsIdentifier = Invoke-RestMethod -Method POST -Uri $VPGSettingsIdentifierUrl -Body $JSONIdentifier -Headers $ZertoSessionHeader -ContentType $Type write-host […]

    • People: 3
      Replies: 2
    • March 14, 2022
    • Collection time for Resource Reports

      Hi, Does anyone know how the specific time is determined when the daily samples are collected for the Resource Report that can be obtained through the ‘resources’ API? The frequency is set to daily or hourly in the ‘Site Settings’, but I cannot find anything about how the specific time is selected and if it […]

    • People: 2
      Replies: 1
    • March 11, 2022
    • [REST] Getting Vpg/vm source host/cluster

      It is possible via Rest to get the Host where a protected VM is currently located? I can get the recovery host no issue, but I cant find a way to get the source host at all.   Thanks in advance

    • People: 2
      Replies: 1
    • March 8, 2022
    • Rest API and C# – Authentication

      Hello, I’m hoping to utilize an existing c# application to read some alert info from our on-prem Zerto installation.  I see that you can pass authentication info using PowerShell, but I don’t see how to using the Rest API.  Typically for Rest I’d use RestSharp.dll and Newtonsoft.Json.dll. The returns are null which indicates to me […]

    • People: 3
      Replies: 2
    • January 12, 2022
    • Powershell VPG mgmt has unexpected results

      First of all, this script doesn’t update $_.Recovery.DefaultFolderIdentifier like it was meant to. Second, it removes $_.Recovery.DefaultDatastoreIdentifier even if I try to put a value. Can anyone tell me what’s going on? $BaseURL = “https://zvm_ip:port/v1/” $VPGListUrl = $BaseURL+”vpgs” $VPGList = Invoke-RestMethod -Method GET -Uri $VPGListUrl -Headers $ZertoSessionHeader -ContentType $TypeJSON $VPGIdentifier = $VPGList[0].VpgIdentifier $JSONIdentifier = @{VpgIdentifier […]

    • People: 2
      Replies: 3
    • December 16, 2021
    • Powershell for zerto

      Any helpful resource for powershell. I know the guide but need something very basic. I am unable to connect to even ZMV running version 9.2 U2.   It always give me the ssl connection could not be established, see inner exception powershell tried by adding the port 9669, It first threw URL error and than […]

    • People: 2
      Replies: 3
    • December 16, 2021
    • Zabbix Discovery Script stopped working

      Good Day. I am hoping someone can assist. We have a customer with two zvm’s in two regions. The one works fine with a the zabbix script and reports as it should. (This server has 50VPG’s). The second server only has 2 Vpg’s but is not working anymore. I am new to both systems so […]

    • People: 2
      Replies: 3
    • November 10, 2021
    • Unable to run PS script

      Hello. I’m fairly new into powershell scripting so I hope I got everything right. Currently testing on Zerto 5.0 U1. Colleges asked me if Zerto has some option that would enable us to change resources on replicated machines when testing or doing failover. After some reading I found nothing and started creating a script that […]

    • People: 1
      Replies: 2
    • October 21, 2021
    • Write powershell for Zerto

      Hi, I want to hire someone to help me write some powershell scripts for Zerto API. If anyone is interesting, please contact me directly to epaz999@gmail.com. Thanks

    • People: 3
      Replies: 2
    • September 28, 2021
    • Automating ZVR vCenter Alarms 1 2

      Hello,   With our recent blog post in regards to automating vCenter alarms we wanted to open this up for feedback and questions you may have. For those interested in a script please let us know and we will send you a link to the download. Thank you,

    • People: 8
      Replies: 20
    • September 21, 2021
    • Zerto VM Report

      I am looking for a way to export the report of all VM and its details using powershell to a csv. what i am looking for is vmname, VpgName, SourceSite, TargetSite, ProvisionedStorageInMB, target host, source host, Source IP & failover IP below can give some details but how do i get VM failover ip and […]

    • People: 3
      Replies: 2
    • September 5, 2021

You must be logged in to create new topics. Click here to login