Forum Discussion
Attempt to gather metrics similar to the Statistics Performance section with bigsuds?
I'm attempting to pull metrics every 30 seconds from my F5s using bigsuds so I can send them to graphite. The equivalent metrics to the listed performance graphs below, located under the "Statistics >> Performance" section of the F5s web interface. Taking the amazing bigsuds performance graphs script and messing with the PerformanceStatisticQuery hasn't been giving me any luck on gathering the metrics for a 30 second period.
I wanted to know if these metrics were already being recorded in other methods that I could call?
- Memory Used
- System CPU Usage
- Active Connections
- Total New Connections
- Throughput(bits)
- Throughput(packets)
- HTTP Requests
- SSL Transactions
I've only been able to get the active connections and CPU usage using the bigsuds methods. Though not sure which Connections method would be better to get the count of active connections.
b.System.SystemInfo.get_all_cpu_usage_extended_information()
len(b.System.Connections.get_all_active_connections_v2())
len(b.System.Connections.get_list())
Python bigsuds Performance Graphs
System::Statistics::PerformanceStatisticQuery
2 Replies
- JRahm
Admin
Memory allocation by module is get_custom_memory_ratio, so you can select TMOS_MODULE_LTM, TMOS_MODULE_ASM, and so forth, or for all, TMOS_MODULE_TMOS for TMM and TMOS_MODULE_HOST otherwise.
- JRahm
Admin
you might check get_all_tmm_statistics or get_global_tmm_statistics, which I think is a better source for taking deltas.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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