Title might not be entirely clear but the problem is quite specific. I want to create a discovery rule with the output shown here:
I need to create a macro that can be filled in with the values 'ZABBIX_0365' and 'ZABBIX_INTERNET'. These names won't be the same everytime so I cannot rely on filters or hardcodes values. Normally with jsonpath I would select a field and the LLD would figure out that for each value of that field it should fill in the macro. Since I Cannot select a field I am not able to fill in the LLD macro with these values. Any ideas on how to fix this?
Code:
{
"http_method": "GET",
"results": {
"ZABBIX_O365": {
"": {
"status": "up",
"latency": 14.83416748046875,
"jitter": 2.5383334159851074,
"packet_loss": 0.0,
"packet_sent": 3053780,
"packet_received": 3052937
}
},
"ZABBIX_INTERNET": {
"": {
"status": "up",
"latency": 17.034366607666016,
"jitter": 3.6004993915557861,
"packet_loss": 0.0,
"packet_sent": 3052927,
"packet_received": 3052052
}
}
},
"vdom": "root",
"path": "system",
"name": "link-monitor",
"action": "",
"status": "success",
"serial": "FGT60FTK",
"version": "v7.0.9",
"build": 444
}
Comment