Hello, I would like to ask about a problem that I have been struggling with for several days.
I would like to monitor the values from the json file, specifically the number of days remaining until the end of the expiration. I think I have a problem with the LLD settings, the value that should appear for a specific item as value is displayed in the key and there is Parameter is not allowed error.
1) python script returns me data in json:
2)
discovery rule:
key: rpa.status
item prototype:
name: {#COMPANY}
key: rpa.status[{#DATE}]
3)
zabbix agent:
UserParameter=rpa.status,cat /opt/zabbix/test (just for test purposes)
what am I missing? thanks for the hints
!
I would like to monitor the values from the json file, specifically the number of days remaining until the end of the expiration. I think I have a problem with the LLD settings, the value that should appear for a specific item as value is displayed in the key and there is Parameter is not allowed error.
1) python script returns me data in json:
HTML Code:
[
{
"{#ROBOT}": "Alfa",
"{#DAYS}": "63"
},
{
"{#ROBOT}": "Gamma",
"{#DAYS}": "14"
},
{
"{#ROBOT}": "Delta",
"{#DAYS}": "19"
}
]
2)
discovery rule:
key: rpa.status
item prototype:
name: {#COMPANY}
key: rpa.status[{#DATE}]
3)
zabbix agent:
UserParameter=rpa.status,cat /opt/zabbix/test (just for test purposes)
what am I missing? thanks for the hints
!
Comment