Forum Discussion

mrosedale_13329's avatar
mrosedale_13329
Icon for Nimbostratus rankNimbostratus
Sep 13, 2013
Solved

SNMP CPU Usage

I'm curious what the difference between these two numbers is? sysGlobalHostCpuUsageRatio (uses a 5-second polling interval) sysGlobalHostCpuUsageRatio5s (also uses a 5-second polling interval)

 

I know what I'm getting with the latter, but I'm not sure what the first one is actually reporting.

 

Thanks.

 

  • There appears to be a known issue for certain versions: http://support.f5.com/kb/en-us/solutions/public/13000/000/sol13091.html

     

4 Replies

  • There appears to be a known issue for certain versions: http://support.f5.com/kb/en-us/solutions/public/13000/000/sol13091.html

     

    • mrosedale_13329's avatar
      mrosedale_13329
      Icon for Nimbostratus rankNimbostratus
      This is exactly what I was seeing. I kept getting 1 for all of my f5's. Thanks for the answer. Though I still wonder if both sysGlobalHostCpuUsageRation and sysGlobalHostCpuUsageRatio5s use 5 second ratio is there really any difference between the two?
    • Derek_Stender_1's avatar
      Derek_Stender_1
      Icon for Nimbostratus rankNimbostratus
      The F5-BIGIP-SYSTEM-MIB file shows the following: sysGlobalHostCpuUsageRatio Description: "This is usage ratio of CPU for the system. It is calculated by (sum of detals for user, niced, system)/(sum of deltas of user, niced, system, idle, irq, softirq, and iowait), where each delta is the difference for each stat over the last 10-second interval; sysGlobalHostCpuUser5s Description: "The average time spent by the specified processor in user context for the system in the last five seconds." I've pulled some extra lines out of the full description, but hopefully that gives you enough information.
  • sysGlobalHostCpuUsageRatio (uses a 5-second polling interval)

    is it not 10-second interval?

    sysGlobalHostCpuUsageRatio OBJECT-TYPE 
      SYNTAX Gauge
      MAX-ACCESS read-only
      STATUS current
      DESCRIPTION
        "This is usage ratio of CPU for the system. It is calculated by (sum of detals for user, niced, system)/(sum of deltas of user, niced, system, idle, irq, softirq, and iowait), where each delta is the difference for each stat over the last 10-second interval;
        user: sysGlobalHostCpuUser;
        niced: sysGlobalHostCpuNiced;
        stolen: sysGlobalHostCpuStolen;
        system: sysGlobalHostCpuSystem;
        idle: sysGlobalHostCpuIdle;
        irq: sysGlobalHostCpuIrq;
        iowait: sysGlobalHostCpuIowait"
      ::= { sysGlobalHost 13 }