Hi all,
I'm having an issue with a template I've created for Zerto replication jobs. I've created a PowerShell script on the Zerto management server which outputs JSON, I've checked in in JSONLint as correct:
I've attached my template for your reference.
The result of a discovery is as follows:
It's as if {#VPGIdentifier} isn't being expanded?
Please help!
Sean
I'm having an issue with a template I've created for Zerto replication jobs. I've created a PowerShell script on the Zerto management server which outputs JSON, I've checked in in JSONLint as correct:
Code:
{
"data": [{
"{#VPGIdentifier}": "fc0b4e97-66b8-4776-ac71-ed8c01c45fa9",
"{#VPGName}": "DR - Sage X3"
}, {
"{#VPGIdentifier}": "97931b01-95c0-4f14-a8ea-7e2eb63a2cb4",
"{#VPGName}": "DR - Professional Services"
}, {
"{#VPGIdentifier}": "500aa3d4-6fb5-4e69-a034-087bbd842416",
"{#VPGName}": "DR - File Servers"
}, {
"{#VPGIdentifier}": "63d4e65c-aa0e-406f-9c89-22d4f53c1d80",
"{#VPGName}": "DR - Citrix"
}, {
"{#VPGIdentifier}": "3519069f-5122-48f8-aacf-b75a9fe62ba9",
"{#VPGName}": "DR - Linux VMs"
}, {
"{#VPGIdentifier}": "c73ba21e-32f1-4efe-92a8-f3d83d1793f4",
"{#VPGName}": "Failover Test"
}]
}
The result of a discovery is as follows:
Cannot create item: item with the same key "zerto[Status,{#VPGIdentifier}]" already exists.
Cannot create item: item with the same key "zerto[Status,{#VPGIdentifier}]" already exists.
Cannot create item: item with the same key "zerto[Status,{#VPGIdentifier}]" already exists.
Cannot create item: item with the same key "zerto[Status,{#VPGIdentifier}]" already exists.
Cannot create item: item with the same key "zerto[Status,{#VPGIdentifier}]" already exists.
Cannot create item: item with the same key "zerto[Status,{#VPGIdentifier}]" already exists
Cannot create item: item with the same key "zerto[Status,{#VPGIdentifier}]" already exists.
Cannot create item: item with the same key "zerto[Status,{#VPGIdentifier}]" already exists.
Cannot create item: item with the same key "zerto[Status,{#VPGIdentifier}]" already exists.
Cannot create item: item with the same key "zerto[Status,{#VPGIdentifier}]" already exists.
Cannot create item: item with the same key "zerto[Status,{#VPGIdentifier}]" already exists
Please help!
Sean
Comment