Forum Discussion
find specific SNMP OID
- Mar 28, 2023
The CPU statistics are not per Virtual server. Check this:
https://my.f5.com/manage/s/article/K43203722
you can download the SNMP MIB files if you go on your F5 device at: About ->Downloads->SNMP MIBs
- Mar 29, 2023
As far as I know it is not possible via SNMP Query, since these information is not exposed to the snmpd. But you can query the information on the box itself with the following Command:
[root@f5-bigip-3:Offline:Standalone] scripts # tmctl virtual_server_cpu_stat -s name,avg_5sec,avg_1min,avg_5min -w 99999 | grep 'api-test'Result will look like this for example
name avg_5sec avg_1min avg_5min /Common/api-test-vs 0 0 0
This Values you can easily script or write to csv to get a graph with excel
Hope it will help
- Mar 29, 2023
you can also try it via Rest API.
All you need is to make a request for the Virtual server stats.
Something like this:
https://<BIG-IP>/mgmt/tm/ltm/virtual/~<partition>~<VirtualServer>/stats
there you'll find some info:
"fiveMinAvgUsageRatio": {
"value": 0
},
"fiveSecAvgUsageRatio": {
"value": 0
},
"oneMinAvgUsageRatio": {
"value": 0
},https://my.f5.com/manage/s/article/K17283308#vs_stats
https://my.f5.com/manage/s/article/K45508216
you can also try it via Rest API.
All you need is to make a request for the Virtual server stats.
Something like this:
https://<BIG-IP>/mgmt/tm/ltm/virtual/~<partition>~<VirtualServer>/stats
there you'll find some info:
"fiveMinAvgUsageRatio": {
"value": 0
},
"fiveSecAvgUsageRatio": {
"value": 0
},
"oneMinAvgUsageRatio": {
"value": 0
},
https://my.f5.com/manage/s/article/K17283308#vs_stats
https://my.f5.com/manage/s/article/K45508216
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