Forum Discussion
Livius
Cirrus
Feb 15, 2019Interface counters via iControl
Hi,
We are in process of building analytics graphs, by collecting equipment counters via iControl (REST API).
We managed to fetch the pool, node, member, VS counters and stats but we could not f...
jaikumar_f5
MVP
Feb 16, 2019I think it should be something below,
curl -s -k -u admin -H "Content-Type: application/json" -X GET https://1.1.1.1/mgmt/tm/net/interface/stats | jq
Output would be,
Enter host password for user 'admin':
{
"kind": "tm:net:interface:interfacecollectionstats",
"selfLink": "https://localhost/mgmt/tm/net/interface/stats?ver=13.1.0.5",
"entries": {
"https://localhost/mgmt/tm/net/interface/1.1/stats": {
"nestedStats": {
"kind": "tm:net:interface:interfacestats",
"selfLink": "https://localhost/mgmt/tm/net/interface/1.1/stats?ver=13.1.0.5",
"entries": {
"counters.bitsIn": {
"value": 0
},
"counters.bitsOut": {
"value": 0
},
"counters.dropsAll": {
"value": 0
},
"counters.errorsAll": {
"value": 0
},
"counters.pktsIn": {
"value": 0
},
"counters.pktsOut": {
"value": 0
},
"mediaActive": {
"description": "none"
},
"tmName": {
"description": "1.1"
},
"status": {
"description": "disabled"
}
}
}
},
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects