Forum Discussion
nkingcade_12003
Nimbostratus
Jun 10, 2013Performance Information
Okay, It appears that my previous question concerning performance information didn't get a comment. Let me try another approach. Is it possible to query the SNMP agent on the F5 from the command line...
Brent_Blood_768
Jun 24, 2013Historic F5 Account
Sorry for the late response.
What sort of stats are you looking to get from the system from the command line? You can get to most of the same stats that the GUI shows from tmsh, but you have to know where to look. In these cases, you want to use the "show" verb interactively (run "help show" in tmsh to see how to use this command - the "raw" and "field-fmt" options are likely of interest for interactive use). For instance, to see all of the stats associated with the base tcp profile, run:
show ltm profile tcp tcp raw field-fmt
You can access this in a tmsh script ("help cli script") using the tmsh::get_status command, and you could export these to Excel by writing the results to a file as a CSV.
You can use snmpwalk/snmpget to access stats in that manner, but you'll get better luck with that approach asking in a different forum (this one is specific to tmsh scripting).
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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