Forum Discussion
aj1
Nimbostratus
Aug 14, 2015tmsh show /sys connection cs-client-addr x.x.x.x using iControl REST
Been going through the iControl REST reference and it appears appending stats to the GET request outputs the tmsh show ... of a pool, virtual etc. I've tried the same approach for tmsh show...
aj1
Nimbostratus
Sep 10, 2015Yes Kevin, that is what my o/p looks like. Just want it to be cleaner at this point, by extracting the first address and displaying only that. I'm using python and the
requests lib for GET(ting) the data, and currently, I can see a fraction of the connection table for that outside ip (cs-server-addr). Thanks.
>>> import requests
>>> print connTable['apiRawValues']['apiAnonymous']
Sys::Connections
172.25.52.251%4:41334 69.28.57.177%4:10086 197.72.208.78:1142 69.28.57.177:10086 tcp 499 (slot/tmm: 1/0) none
172.25.52.251%4:60179 193.235.206.82%4:4070 197.72.208.78:1043 193.235.206.82:4070 tcp 47 (slot/tmm: 1/0) none
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
