Hello,
I am seeking assistance with capturing JSON data. Despite trying various methods, I haven't been able to achieve the desired results.
Objective:
I want to create a unified item that captures the JSON response, which is working fine. Additionally, I am looking to implement an auto-discovery mechanism (if feasible) to identify 'company' values, as the data changes daily. Subsequently, I need to store 'load' and 'requests' metrics for each dynamically discovered company.
Example Data Output:
I would greatly appreciate your assistance with this task, as my intention is to maintain this data within Zabbix without the need to push it to an external database.
Best regards,
I am seeking assistance with capturing JSON data. Despite trying various methods, I haven't been able to achieve the desired results.
Objective:
I want to create a unified item that captures the JSON response, which is working fine. Additionally, I am looking to implement an auto-discovery mechanism (if feasible) to identify 'company' values, as the data changes daily. Subsequently, I need to store 'load' and 'requests' metrics for each dynamically discovered company.
Example Data Output:
Code:
{
"data": [
{"company": "Company 001", "load": 0.2, "requests": 2273},
{"company": "Company 002", "load": 0.2, "requests": 865},
{"company": "Company 003", "load": 0.1, "requests": 518}
]
}
I would greatly appreciate your assistance with this task, as my intention is to maintain this data within Zabbix without the need to push it to an external database.
Best regards,
Comment