Hi Peter,
I used the first option and I got this output.
{
"metricValue": 8.064403220161009E-6,
"agent": "127.0.0.1",
"metricName": "ifoututilization",
"dataSource": "130",
"lastUpdate": 14817
},
{
"metricValue": 7.1E-6,
"agent": "127.0.0.1",
"metricName": "ifoututilization",
"dataSource": "132",
"lastUpdate": 6816
},
{
"metricValue": 0,
"agent": "127.0.0.1",
"metricName": "ifoututilization",
"dataSource": "147",
"lastUpdate": 9817
},
{
"metricValue": 7.1E-6,
"agent": "127.0.0.1",
"metricName": "ifoututilization",
"dataSource": "129",
"lastUpdate": 817
}
My aim is to get the link utilization metrics and the switch links associated with it. For example:
metricValue: 0.12
switchLink: s1-s2
metricValue: 0.14
switchLink: s2-s3
How to get an output similar to this example?
Thank you.