Hi dear community, first post here. Greets to everyone.
I am trying to do something apparently simple, but I am having quite hard times. What I have is a JSON file containing metrics for a "certain amount" of software instances. Each server is contained into a dict element of this JSON structure. For example :
I would like to display this into Zabbix (I am not sure which Widget at this point) as a Table, where each line is the content of a single instance/dictionary (i.e. "0", "1"... "N").
The table would have an header with the column names (sessionNumber, routeName, active), and each line would contain associated instance ("0", "1"...) values.
I have searched for similar questions here and more globally, and found this, I am currently trying to do something similar:
Zabbix LLD : how to create items from json? - Stack Overflow
But unsuccessfully until now - believe that it seems quite complex to "simply" display the content of a JSON object. I am maybe missing the point.
Many, many thanks in advance for any help you could provide about this.
PS : I can generate the JSON data in any other format if that helps to simplify the integration process, but I am not sure where to start again.
Have an excellent day all.
Sincerely,
MKDA_PF.
I am trying to do something apparently simple, but I am having quite hard times. What I have is a JSON file containing metrics for a "certain amount" of software instances. Each server is contained into a dict element of this JSON structure. For example :
Code:
{
"lines": [
{
"sessionNumber": 1,
"routeName": "test1",
"active": true
},
{
"sessionNumber": 2,
"routeName": "test2",
"active": true
}
]
}
The table would have an header with the column names (sessionNumber, routeName, active), and each line would contain associated instance ("0", "1"...) values.
I have searched for similar questions here and more globally, and found this, I am currently trying to do something similar:
Zabbix LLD : how to create items from json? - Stack Overflow
But unsuccessfully until now - believe that it seems quite complex to "simply" display the content of a JSON object. I am maybe missing the point.
Many, many thanks in advance for any help you could provide about this.
PS : I can generate the JSON data in any other format if that helps to simplify the integration process, but I am not sure where to start again.
Have an excellent day all.
Sincerely,
MKDA_PF.
Comment