# CPU and memory metrics for F5 BIG-IP devices

metrics:
  - MIB: F5-BIGIP-SYSTEM-MIB
    table:
      OID: 1.3.6.1.4.1.3375.2.1.7.5.2
      name: sysMultiHostCpuTable
    metric_type: gauge
    symbols:
      - OID: 1.3.6.1.4.1.3375.2.1.7.5.2.1.27
        name: cpu.usage # sysMultiHostCpuUsageRatio1m
        chart_meta:
          family: 'System/CPU/Usage'
          description: The current CPU utilization
          unit: "%"
    metric_tags:
      - tag: cpu
        symbol:
          OID: 1.3.6.1.4.1.3375.2.1.7.5.2.1.3
          name: sysMultiHostCpuId

  - MIB: F5-BIGIP-SYSTEM-MIB
    metric_type: gauge
    symbol:
      OID: 1.3.6.1.4.1.3375.2.1.1.2.1.44.0
      name: memory.total
      chart_meta:
        family: 'System/Memory/TMM/Total'
        description: The total memory available in bytes for TMM (Traffic Management Module)
        unit: "By"

  - MIB: F5-BIGIP-SYSTEM-MIB
    metric_type: gauge
    symbol:
      OID: 1.3.6.1.4.1.3375.2.1.1.2.1.45.0
      name: memory.used
      chart_meta:
        family: 'System/Memory/TMM/Used'
        description: The memory in use in bytes for TMM (Traffic Management Module)
        unit: "By"
