Hello!
I am trying to use a json file to create custom macroses.
JSON is valid, ldd works, operating to {#CISCOIP} and {#CISCONAME} works, but how to operate to #USERS fields? I tried something like {#USERS.#USERNAME} without succes. Is it even supported by zabbix?
thx for help.
I am trying to use a json file to create custom macroses.
Code:
{
"data": [{
"{#CISCOIP}": "ip",
"{#CISCONAME}": "hostname",
"{#USERS}": [{
"{#USERNAME}": "username1"
},
{
"{#USERNAME}": "username2"
},
{
"{#USERNAME}": "username3"
}
]
}]
}
thx for help.
Comment