Edit: Figured this out. Not exactly how LLD is meant to be used in my original example. Understand the use-case now.
I've been trying to figure this one out, there was even a similar post about the topic recently but it's still not clicking. Any help would be appreciated.
Right now I have two UserParameters setup to grab some data via powershell on a couple windows servers. One of them outputs the following data under "UserParameter=s2d.virtualdisk"
In Zabbix I have the following discovery configured which seems to work okay.

I'm running into an issue with the Item prototype under that discovery rule with the error "Cannot create item: item with the same key".
I've tried numerous combinations of settings with the item prototype with no success. This discovery rule is present on multiple hosts but it seems to run into a problem having "Healthy" multiple times as the same status.
Items combinations such as: "s2d.virtualdisk[{#HEALTH}]".
I've been trying to figure this one out, there was even a similar post about the topic recently but it's still not clicking. Any help would be appreciated.
Right now I have two UserParameters setup to grab some data via powershell on a couple windows servers. One of them outputs the following data under "UserParameter=s2d.virtualdisk"
Code:
{
"data": [
{
"{#HEALTH}": "Healthy",
"{#DISK}": "Disk-OS"
},
{
"{#HEALTH}": "Healthy",
"{#DISK}": "Disk-DATA"
}
]
}
I'm running into an issue with the Item prototype under that discovery rule with the error "Cannot create item: item with the same key".
I've tried numerous combinations of settings with the item prototype with no success. This discovery rule is present on multiple hosts but it seems to run into a problem having "Healthy" multiple times as the same status.
Items combinations such as: "s2d.virtualdisk[{#HEALTH}]".