Forum Discussion

F5_LB_Eng's avatar
F5_LB_Eng
Icon for Cirrostratus rankCirrostratus
Mar 28, 2023

find specific SNMP OID

Hi All. customer want the OID to query the CPU utilization of a virtual server. can some one help me to get OID for a virtual server.  
  • F5-Enthusiast's avatar
    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