I have a discovery rule, external check, simple python script. Which return next value:
When i have check it in https://jsonformatter.curiousconcept.com/ considered as Valid json. But Zabbix throw an error "Value should be a JSON object.". I didn't find a way how i can check what Zabbix see when perform discovery rule, as it can be done by zabbix_get, nor via API.
Is there a way troubleshoot it? Also it looks like flapped problem. This rule works fine on previous host, but when i deleted old one, create new and assign to it the same template - problem appeared, it also appeared before on previous host but self healed.
How i can check what Zabbix see in response on Discovery check, what he consider as "non Valid json"?
HTML Code:
{
"data": [
{
"{#DOMAIN}": "carfdfdfeewia.com:443"
},
{
"{#DOMAIN}": "paynedwewrodicdfdler.com:443"
},
{
"{#DOMAIN}": "steetefefefkswagen.net:443"
}
]
}
Is there a way troubleshoot it? Also it looks like flapped problem. This rule works fine on previous host, but when i deleted old one, create new and assign to it the same template - problem appeared, it also appeared before on previous host but self healed.
How i can check what Zabbix see in response on Discovery check, what he consider as "non Valid json"?
Comment