# Profile for F5 BIG-IP devices
#
# Details related to F5-BIGIP-SYSTEM-MIB:
#   http://www.mibdepot.com/cgi-bin/getmib3.cgi?win=mib_a&r=f5&f=F5-BIGIP-SYSTEM-MIB&v=v2&t=tree
# Example sysDescr:
#   BIG-IP Virtual Edition : Linux 3.10.0-862.14.4.el7.ve.x86_64 : BIG-IP software release 15.0.1, build 0.0.11

extends:
  - _system-base.yaml
  - _std-if-mib.yaml # F5-specific variants of the other metrics are provided in this profile.
  - _std-bgp4-mib.yaml
  - _std-ospf-mib.yaml
  - _std-tcp-mib.yaml
  - _std-udp-mib.yaml
  - _std-ip-mib.yaml
  - _f5-big-ip-cpu-memory.yaml

selector:
  - sysobjectid:
      include:
        - 1.3.6.1.4.1.3375.2.1.3.4.*

metadata:
  device:
    fields:
      vendor:
        value: "F5"
      type:
        value: "LoadBalancer"
      serial_number:
        symbol:
          MIB: F5-BIGIP-SYSTEM-MIB
          OID: 1.3.6.1.4.1.3375.2.1.3.3.3.0
          name: sysGeneralChassisSerialNum # The system serial number. 26ff4a4d-190e-12ac-d4257ed36ba6
      version:
        symbol:
          OID: 1.3.6.1.4.1.3375.2.1.4.2.0
          name: sysProductVersion # Displays BIG-IP software version information. e.g. 15.0.1
      product_name:
        symbol:
          OID: 1.3.6.1.4.1.3375.2.1.4.1.0
          name: sysProductName # The product name. e.g. BIG-IP
      model:
        symbol:
          OID: 1.3.6.1.4.1.3375.2.1.3.3.1.0
          name: sysGeneralHwName # The name of the system hardware model. e.g. Z100
      os_name:
        symbol:
          OID: 1.3.6.1.4.1.3375.2.1.6.1.0
          name: sysSystemName # The operating system name. e.g. Linux
      os_version:
        symbol:
          OID: 1.3.6.1.4.1.3375.2.1.6.3.0
          name: sysSystemRelease # The current system release level. e.g. 3.10.0-862.14.4.el7.ve.x86_64


# F5-BIGIP-SYSTEM-MIB
# https://mibbrowser.online/mibdb_search.php?mib=F5-BIGIP-SYSTEM-MIB
# https://github.com/DanielleHuisman/observium-community-edition/blob/main/mibs/f5/F5-BIGIP-SYSTEM-MIB

# F5-BIGIP-LOCAL-MIB
# https://mibbrowser.online/mibdb_search.php?mib=F5-BIGIP-LOCAL-MIB
# https://github.com/DanielleHuisman/observium-community-edition/blob/main/mibs/f5/F5-BIGIP-LOCAL-MIB

metrics:
  # Memory stats
  - 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: sysStatMemoryTotal
      chart_meta:
        description: The total memory available in bytes for TMM (Traffic Management Module)
        family: 'System/Memory/TMM/Total'
        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: sysStatMemoryUsed
      chart_meta:
        description: The memory in use in bytes for TMM (Traffic Management Module)
        family: 'System/Memory/TMM/Used'
        unit: "By"
  - MIB: F5-BIGIP-SYSTEM-MIB
    metric_type: gauge
    symbol:
      OID: 1.3.6.1.4.1.3375.2.1.1.2.21.28.0
      name: sysGlobalTmmStatMemoryTotal
      chart_meta:
        description: The total memory available in bytes for TMM (Traffic Management Module)
        family: 'System/Memory/TMM/Total'
        unit: "By"
  - MIB: F5-BIGIP-SYSTEM-MIB
    metric_type: gauge
    symbol:
      OID: 1.3.6.1.4.1.3375.2.1.1.2.21.29.0
      name: sysGlobalTmmStatMemoryUsed
      chart_meta:
        description: The memory in use in bytes for TMM (Traffic Management Module)
        family: 'System/Memory/TMM/Used'
        unit: "By"
  - MIB: F5-BIGIP-SYSTEM-MIB
    metric_type: gauge
    symbol:
      OID: 1.3.6.1.4.1.3375.2.1.1.2.20.44.0
      name: sysGlobalHostOtherMemoryTotal
      chart_meta:
        description: The total other non-TMM memory in bytes for the system
        family: 'System/Memory/Host/Total'
        unit: "By"
  - MIB: F5-BIGIP-SYSTEM-MIB
    metric_type: gauge
    symbol:
      OID: 1.3.6.1.4.1.3375.2.1.1.2.20.45.0
      name: sysGlobalHostOtherMemoryUsed
      chart_meta:
        description: The other non-TMM memory in bytes currently in use for the system
        family: 'System/Memory/Host/Used'
        unit: "By"
  - MIB: F5-BIGIP-SYSTEM-MIB
    metric_type: gauge
    symbol:
      OID: 1.3.6.1.4.1.3375.2.1.1.2.20.46.0
      name: sysGlobalHostSwapTotal
      chart_meta:
        description: The total swap in bytes for the system
        family: 'System/Memory/Swap/Total'
        unit: "By"
  - MIB: F5-BIGIP-SYSTEM-MIB
    metric_type: gauge
    symbol:
      OID: 1.3.6.1.4.1.3375.2.1.1.2.20.47.0
      name: sysGlobalHostSwapUsed
      chart_meta:
        description: The swap in bytes currently in use for the system
        family: 'System/Memory/Swap/Used'
        unit: "By"

  # CPU
  - 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.11
        name: cpu.usage # sysMultiHostCpuUsageRatio
        chart_meta:
          description: The current CPU utilization
          family: 'System/CPU/Usage'
          unit: "%"
    metric_tags:
      - tag: cpu_id
        symbol:
          OID: 1.3.6.1.4.1.3375.2.1.7.5.2.1.3
          name: sysMultiHostCpuId

  - MIB: F5-BIGIP-SYSTEM-MIB
    table:
      OID: 1.3.6.1.4.1.3375.2.1.7.5.2
      name: sysMultiHostCpuTable
    metric_type: percent
    symbols:
      - OID: 1.3.6.1.4.1.3375.2.1.7.5.2.1.4
        name: sysMultiHostCpuUser
        scale_factor: 100
        chart_meta:
          description: The average time spent by the specified processor in user context for the associated host
          family: 'System/CPU/User'
          unit: "%"
      - OID: 1.3.6.1.4.1.3375.2.1.7.5.2.1.5
        name: sysMultiHostCpuNice
        scale_factor: 100
        chart_meta:
          description: The average time spent by the specified processor running niced processes for the associated host
          family: 'System/CPU/Nice'
          unit: "%"
      - OID: 1.3.6.1.4.1.3375.2.1.7.5.2.1.6
        name: sysMultiHostCpuSystem
        scale_factor: 100
        chart_meta:
          description: The average time spent by the specified processor servicing system calls for the associated host
          family: 'System/CPU/System'
          unit: "%"
      - OID: 1.3.6.1.4.1.3375.2.1.7.5.2.1.7
        name: sysMultiHostCpuIdle
        scale_factor: 100
        chart_meta:
          description: The average time spent by the specified processor doing nothing for the associated host
          family: 'System/CPU/Idle'
          unit: "%"
      - OID: 1.3.6.1.4.1.3375.2.1.7.5.2.1.8
        name: sysMultiHostCpuIrq
        scale_factor: 100
        chart_meta:
          description: The average time spent by the specified processor servicing hardware interrupts for the associated host
          family: 'System/CPU/IRQ'
          unit: "%"
      - OID: 1.3.6.1.4.1.3375.2.1.7.5.2.1.9
        name: sysMultiHostCpuSoftirq
        scale_factor: 100
        chart_meta:
          description: The average time spent by the specified processor servicing soft interrupts for the associated host
          family: 'System/CPU/SoftIRQ'
          unit: "%"
      - OID: 1.3.6.1.4.1.3375.2.1.7.5.2.1.10
        name: sysMultiHostCpuIowait
        scale_factor: 100
        chart_meta:
          description: The average time spent by the specified processor waiting for external I/O to complete for the associated host
          family: 'System/CPU/IOWait'
          unit: "%"
    metric_tags:
      - tag: cpu_id
        symbol:
          OID: 1.3.6.1.4.1.3375.2.1.7.5.2.1.3
          name: sysMultiHostCpuId

  # TCP stats
  - MIB: F5-BIGIP-SYSTEM-MIB
    symbol:
      OID: 1.3.6.1.4.1.3375.2.1.1.2.12.2.0
      name: sysTcpStatOpen
      chart_meta:
        description: The number of current open connections
        family: 'Network/TCP/Connection/Open'
        unit: "{connection}"
  - MIB: F5-BIGIP-SYSTEM-MIB
    symbol:
      OID: 1.3.6.1.4.1.3375.2.1.1.2.12.3.0
      name: sysTcpStatCloseWait
      chart_meta:
        description: The number of current connections in CLOSE-WAIT/LAST-ACK
        family: 'Network/TCP/Connection/CloseWait'
        unit: "{connection}"
  - MIB: F5-BIGIP-SYSTEM-MIB
    symbol:
      OID: 1.3.6.1.4.1.3375.2.1.1.2.12.4.0
      name: sysTcpStatFinWait
      chart_meta:
        description: The number of current connections in FIN-WAIT/CLOSING
        family: 'Network/TCP/Connection/FinWait'
        unit: "{connection}"
  - MIB: F5-BIGIP-SYSTEM-MIB
    symbol:
      OID: 1.3.6.1.4.1.3375.2.1.1.2.12.5.0
      name: sysTcpStatTimeWait
      chart_meta:
        description: The number of current connections in TIME-WAIT
        family: 'Network/TCP/Connection/TimeWait'
        unit: "{connection}"
  - MIB: F5-BIGIP-SYSTEM-MIB
    symbol:
      OID: 1.3.6.1.4.1.3375.2.1.1.2.12.6.0
      name: sysTcpStatAccepts
      chart_meta:
        description: The number of connections accepted
        family: 'Network/TCP/Connection/Accepted'
        unit: "{connection}/s"
  - MIB: F5-BIGIP-SYSTEM-MIB
    symbol:
      OID: 1.3.6.1.4.1.3375.2.1.1.2.12.7.0
      name: sysTcpStatAcceptfails
      chart_meta:
        description: The number of connections not accepted
        family: 'Network/TCP/Connection/AcceptFailed'
        unit: "{connection}/s"
  - MIB: F5-BIGIP-SYSTEM-MIB
    symbol:
      OID: 1.3.6.1.4.1.3375.2.1.1.2.12.8.0
      name: sysTcpStatConnects
      chart_meta:
        description: The number of connections established
        family: 'Network/TCP/Connection/Established'
        unit: "{connection}/s"
  - MIB: F5-BIGIP-SYSTEM-MIB
    symbol:
      OID: 1.3.6.1.4.1.3375.2.1.1.2.12.9.0
      name: sysTcpStatConnfails
      chart_meta:
        description: The number of connections failures
        family: 'Network/TCP/Connection/Failed'
        unit: "{connection}/s"
  # UDP stats
  - MIB: F5-BIGIP-SYSTEM-MIB
    symbol:
      OID: 1.3.6.1.4.1.3375.2.1.1.2.13.2.0
      name: sysUdpStatOpen
      chart_meta:
        description: The number of current open connections
        family: 'Network/UDP/Connection/Open'
        unit: "{connection}"
  - MIB: F5-BIGIP-SYSTEM-MIB
    symbol:
      OID: 1.3.6.1.4.1.3375.2.1.1.2.13.3.0
      name: sysUdpStatAccepts
      chart_meta:
        description: The number of connections accepted
        family: 'Network/UDP/Connection/Accepted'
        unit: "{connection}/s"
  - MIB: F5-BIGIP-SYSTEM-MIB
    symbol:
      OID: 1.3.6.1.4.1.3375.2.1.1.2.13.4.0
      name: sysUdpStatAcceptfails
      chart_meta:
        description: The number of connections not accepted
        family: 'Network/UDP/Connection/AcceptFailed'
        unit: "{connection}/s"
  - MIB: F5-BIGIP-SYSTEM-MIB
    symbol:
      OID: 1.3.6.1.4.1.3375.2.1.1.2.13.5.0
      name: sysUdpStatConnects
      chart_meta:
        description: The number of connections established
        family: 'Network/UDP/Connection/Established'
        unit: "{connection}/s"
  - MIB: F5-BIGIP-SYSTEM-MIB
    symbol:
      OID: 1.3.6.1.4.1.3375.2.1.1.2.13.6.0
      name: sysUdpStatConnfails
      chart_meta:
        description: The number of connections failures
        family: 'Network/UDP/Connection/Failed'
        unit: "{connection}/s"
  - MIB: F5-BIGIP-SYSTEM-MIB
    symbol:
      OID: 1.3.6.1.4.1.3375.2.1.1.2.9.2.0
      name: sysClientsslStatCurConns
      chart_meta:
        description: The current number of concurrent connections with established SSL sessions being maintained by the filter
        family: 'Network/SSL/Client/Connection/Current'
        unit: "{connection}"
  - MIB: F5-BIGIP-SYSTEM-MIB
    symbol:
      OID: 1.3.6.1.4.1.3375.2.1.1.2.9.10.0
      name: sysClientsslStatEncryptedBytesIn
      chart_meta:
        description: The total encrypted bytes received
        family: 'Network/SSL/Client/Traffic/Encrypted/In'
        unit: "By/s"
  - MIB: F5-BIGIP-SYSTEM-MIB
    symbol:
      OID: 1.3.6.1.4.1.3375.2.1.1.2.9.11.0
      name: sysClientsslStatEncryptedBytesOut
      chart_meta:
        description: The total encrypted bytes sent
        family: 'Network/SSL/Client/Traffic/Encrypted/Out'
        unit: "By/s"
  - MIB: F5-BIGIP-SYSTEM-MIB
    symbol:
      OID: 1.3.6.1.4.1.3375.2.1.1.2.9.12.0
      name: sysClientsslStatDecryptedBytesIn
      chart_meta:
        description: The total decrypted bytes received
        family: 'Network/SSL/Client/Traffic/Decrypted/In'
        unit: "By/s"
  - MIB: F5-BIGIP-SYSTEM-MIB
    symbol:
      OID: 1.3.6.1.4.1.3375.2.1.1.2.9.13.0
      name: sysClientsslStatDecryptedBytesOut
      chart_meta:
        description: The total decrypted bytes sent
        family: 'Network/SSL/Client/Traffic/Decrypted/Out'
        unit: "By/s"
  - MIB: F5-BIGIP-SYSTEM-MIB
    symbol:
      OID: 1.3.6.1.4.1.3375.2.1.1.2.9.29.0
      name: sysClientsslStatHandshakeFailures
      chart_meta:
        description: The total number of handshake failures
        family: 'Network/SSL/Client/Handshake/Failed'
        unit: "{connection}/s"

  # Metrics from F5-BIGIP-LOCAL-MIB provide monitoring information about virtual servers, nodes, and pools.
  # These concepts are related to the LTM (Local Traffic Management) features of BIG IP devices.
  # TL;DR:
  # * Virtual servers act as load balancers that are assigned pools of nodes (= servers).
  # * Clients can use a virtual server as an entrypoint to an application service that spans multiple machines.
  # Learn more: https://techdocs.f5.com/kb/en-us/products/big-ip_ltm/manuals/product/ltm-basics-11-6-0.html

  # Virtual servers.

  - MIB: F5-BIGIP-LOCAL-MIB
    symbol:
      OID: 1.3.6.1.4.1.3375.2.2.10.1.1
      name: ltmVirtualServNumber
      chart_meta:
        description: The number of ltmVirtualServ entries in the table
        family: 'LoadBalancer/VirtualServer/Count'
        unit: "{virtual_server}"

  - MIB: F5-BIGIP-LOCAL-MIB
    table:
      OID: 1.3.6.1.4.1.3375.2.2.10.1.2
      name: ltmVirtualServTable
    symbols:
      # Gauges
      - OID: 1.3.6.1.4.1.3375.2.2.10.1.2.1.9
        name: ltmVirtualServEnabled
        chart_meta:
          description: The state indicating whether the specified virtual server is enabled or not
          family: 'LoadBalancer/VirtualServer/Enabled'
          unit: "{virtual_server}"
      - OID: 1.3.6.1.4.1.3375.2.2.10.1.2.1.10
        name: ltmVirtualServConnLimit
        chart_meta:
          description: The maximum number of connections the specified virtual server is allowed to have open at one time
          family: 'LoadBalancer/VirtualServer/Connection/Limit'
          unit: "{connection}"
    metric_tags:
      - tag: virtual_server_name
        symbol:
          OID: 1.3.6.1.4.1.3375.2.2.10.1.2.1.1
          name: ltmVirtualServName

  - MIB: F5-BIGIP-LOCAL-MIB
    table:
      OID: 1.3.6.1.4.1.3375.2.2.10.13.2
      name: ltmVsStatusTable
    symbols:
      - OID: 1.3.6.1.4.1.3375.2.2.10.13.2.1.3
        name: ltmVsStatusEnabledState
        chart_meta:
          description: The activity status of the specified virtual server, as specified by the user.
          family: 'LoadBalancer/VirtualServer/Status/Enabled'
          unit: "{status}"
        mapping:
          0: none
          1: enabled
          2: disabled
          3: disabledbyparent
    metric_tags:
      - tag: ltm_vs_status_avail_state
        symbol:
          OID: 1.3.6.1.4.1.3375.2.2.10.13.2.1.2
          name: ltmVsStatusAvailState
      - tag: ltm_vs_status_name
        symbol:
          OID: 1.3.6.1.4.1.3375.2.2.10.13.2.1.1
          name: ltmVsStatusName

  - MIB: F5-BIGIP-LOCAL-MIB
    table:
      OID: 1.3.6.1.4.1.3375.2.2.10.2.3
      name: ltmVirtualServStatTable
    symbols:
      # Counters (= rates)
      - OID: 1.3.6.1.4.1.3375.2.2.10.2.3.1.6
        name: ltmVirtualServStatClientPktsIn
        chart_meta:
          description: The number of packets received by the specified virtual server from client-side
          family: 'LoadBalancer/VirtualServer/Client/Packet/In'
          unit: "{packet}/s"
      - OID: 1.3.6.1.4.1.3375.2.2.10.2.3.1.7
        name: ltmVirtualServStatClientBytesIn
        chart_meta:
          description: The number of bytes received by the specified virtual server from client-side
          family: 'LoadBalancer/VirtualServer/Client/Traffic/In'
          unit: "By/s"
      - OID: 1.3.6.1.4.1.3375.2.2.10.2.3.1.8
        name: ltmVirtualServStatClientPktsOut
        chart_meta:
          description: The number of packets sent to client-side from the specified virtual server
          family: 'LoadBalancer/VirtualServer/Client/Packet/Out'
          unit: "{packet}/s"
      - OID: 1.3.6.1.4.1.3375.2.2.10.2.3.1.9
        name: ltmVirtualServStatClientBytesOut
        chart_meta:
          description: The number of bytes sent to client-side from the specified virtual server
          family: 'LoadBalancer/VirtualServer/Client/Traffic/Out'
          unit: "By/s"
      # Gauges
      - OID: 1.3.6.1.4.1.3375.2.2.10.2.3.1.12
        name: ltmVirtualServStatClientCurConns
        chart_meta:
          description: The current connections from client-side to the specified virtual server
          family: 'LoadBalancer/VirtualServer/Client/Connection/Current'
          unit: "{connection}"
      - OID: 1.3.6.1.4.1.3375.2.2.10.2.3.1.31
        name: ltmVirtualServStatVsUsageRatio5s
        chart_meta:
          description: The percentage of time Virtual Server was busy over the last 5 seconds
          family: 'LoadBalancer/VirtualServer/Usage/5s'
          unit: "%"
      - OID: 1.3.6.1.4.1.3375.2.2.10.2.3.1.32
        name: ltmVirtualServStatVsUsageRatio1m
        chart_meta:
          description: The percentage of time Virtual Server was busy over the last 1 minute
          family: 'LoadBalancer/VirtualServer/Usage/1m'
          unit: "%"
      - OID: 1.3.6.1.4.1.3375.2.2.10.2.3.1.33
        name: ltmVirtualServStatVsUsageRatio5m
        chart_meta:
          description: The percentage of time Virtual Server was busy over the last 5 minutes
          family: 'LoadBalancer/VirtualServer/Usage/5m'
          unit: "%"
      - OID: 1.3.6.1.4.1.3375.2.2.10.2.3.1.34
        name: ltmVirtualServStatCurrentConnsPerSec
        chart_meta:
          description: The number of current connections per second to the specified virtual server
          family: 'LoadBalancer/VirtualServer/Connection/Rate'
          unit: "{connection}/s"
      - OID: 1.3.6.1.4.1.3375.2.2.10.2.3.1.35
        name: ltmVirtualServStatDurationRateExceeded
        chart_meta:
          description: Duration of time in seconds the specified virtual server has exceeded the configured connection rate limit
          family: 'LoadBalancer/VirtualServer/RateLimit/Duration'
          unit: "s"
      - OID: 1.3.6.1.4.1.3375.2.2.10.2.3.1.5
        name: ltmVirtualServStatNoNodesErrors
        chart_meta:
          description: The number of no-node errors
          family: 'LoadBalancer/VirtualServer/Error/NoNodes'
          unit: "{error}/s"
      - OID: 1.3.6.1.4.1.3375.2.2.10.2.3.1.11
        name: ltmVirtualServStatClientTotConns
        chart_meta:
          description: The total connections from client-side to the specified virtual server
          family: 'LoadBalancer/VirtualServer/Client/Connection/Total'
          unit: "{connection}/s"
      - OID: 1.3.6.1.4.1.3375.2.2.10.2.3.1.27
        name: ltmVirtualServStatTotRequests
        chart_meta:
          description: The total number of requests going through the specified virtual server
          family: 'LoadBalancer/VirtualServer/Request/Total'
          unit: "{request}/s"
      - OID: 1.3.6.1.4.1.3375.2.2.10.2.3.1.40
        name: ltmVirtualServStatClientEvictedConns
        chart_meta:
          description: The number of client-side connections that have been evicted on the specified virtual server
          family: 'LoadBalancer/VirtualServer/Client/Connection/Evicted'
          unit: "{connection}/s"
      - OID: 1.3.6.1.4.1.3375.2.2.10.2.3.1.41
        name: ltmVirtualServStatClientSlowKilled
        chart_meta:
          description: The number of slow client-side connections that have been killed on the specified virtual server
          family: 'LoadBalancer/VirtualServer/Client/Connection/SlowKilled'
          unit: "{connection}/s"
    metric_tags:
      - tag: virtual_server_name
        symbol:
          OID: 1.3.6.1.4.1.3375.2.2.10.2.3.1.1
          name: ltmVirtualServStatName

  # Nodes.

  - MIB: F5-BIGIP-LOCAL-MIB
    symbol:
      OID: 1.3.6.1.4.1.3375.2.2.4.1.1
      name: ltmNodeAddrNumber
      chart_meta:
        description: The number of ltmNodeAddr entries in the table
        family: 'LoadBalancer/Node/Count'
        unit: "{node}"

  - MIB: F5-BIGIP-LOCAL-MIB
    table:
      OID: 1.3.6.1.4.1.3375.2.2.4.1.2
      name: ltmNodeAddrTable
    symbols:
      # Gauges
      - OID: 1.3.6.1.4.1.3375.2.2.4.1.2.1.3
        name: ltmNodeAddrConnLimit
        chart_meta:
          description: The maximum number of connections the specified node address is allowed to have open at one time
          family: 'LoadBalancer/Node/Connection/Limit'
          unit: "{connection}"
      - OID: 1.3.6.1.4.1.3375.2.2.4.1.2.1.4
        name: ltmNodeAddrRatio
        chart_meta:
          description: The ratio of the specified node address used in load balance algorithm
          family: 'LoadBalancer/Node/Ratio/Static'
          unit: "{ratio}"
      - OID: 1.3.6.1.4.1.3375.2.2.4.1.2.1.5
        name: ltmNodeAddrDynamicRatio
        chart_meta:
          description: The dynamic ratio of the specified node address used in load balance algorithm
          family: 'LoadBalancer/Node/Ratio/Dynamic'
          unit: "{ratio}"
      - OID: 1.3.6.1.4.1.3375.2.2.4.1.2.1.6
        name: ltmNodeAddrMonitorState
        chart_meta:
          description: The internal tmm monitor state for the specified node address
          family: 'LoadBalancer/Node/Monitor/State'
          unit: "{status}"
        mapping:
          0: unchecked
          1: checking
          2: inband
          3: forced_up
          4: up
          19: down
          20: forced_down
          22: irule_down
          23: inband_down
          24: down_manual_resume
          25: disabled
          26: fqdn_checking
          27: fqdn_down
          28: fqdn_up
          29: fqdn_up_no_address
      - OID: 1.3.6.1.4.1.3375.2.2.4.1.2.1.7
        name: ltmNodeAddrMonitorStatus
        chart_meta:
          description: The hierarchical load balance state for the specified node address including parent status
          family: 'LoadBalancer/Node/Monitor/Status'
          unit: "{status}"
        mapping:
          0: unchecked
          1: checking
          2: inband
          3: forced_up
          4: up
          18: addr_down
          19: down
          20: forced_down
          21: maint
          22: irule_down
          23: inband_down
          24: down_manual_resume
          26: fqdn_checking
          27: fqdn_down
          28: fqdn_up
          29: fqdn_up_no_address
      - OID: 1.3.6.1.4.1.3375.2.2.4.1.2.1.10
        name: ltmNodeAddrSessionStatus
        chart_meta:
          description: The hierarchical status of the session including parent status for the specified node address
          family: 'LoadBalancer/Node/Session/Status'
          unit: "{status}"
        mapping:
          1: enabled
          2: addrdisabled
          3: servdisabled
          4: disabled
          5: forceddisabled
    metric_tags:
      - tag: node_name
        symbol:
          OID: 1.3.6.1.4.1.3375.2.2.4.1.2.1.17
          name: ltmNodeAddrName

  - MIB: F5-BIGIP-LOCAL-MIB
    table:
      OID: 1.3.6.1.4.1.3375.2.2.4.2.3
      name: ltmNodeAddrStatTable
    symbols:
      # Counters (= rates)
      - OID: 1.3.6.1.4.1.3375.2.2.4.2.3.1.3
        name: ltmNodeAddrStatServerPktsIn
        chart_meta:
          description: The number of packets received by the specified node address from server-side
          family: 'LoadBalancer/Node/Server/Packet/In'
          unit: "{packet}/s"
      - OID: 1.3.6.1.4.1.3375.2.2.4.2.3.1.4
        name: ltmNodeAddrStatServerBytesIn
        chart_meta:
          description: The number of bytes received by the specified node address from server-side
          family: 'LoadBalancer/Node/Server/Traffic/In'
          unit: "By/s"
      - OID: 1.3.6.1.4.1.3375.2.2.4.2.3.1.5
        name: ltmNodeAddrStatServerPktsOut
        chart_meta:
          description: The number of packets sent to server-side from the specified node address
          family: 'LoadBalancer/Node/Server/Packet/Out'
          unit: "{packet}/s"
      - OID: 1.3.6.1.4.1.3375.2.2.4.2.3.1.6
        name: ltmNodeAddrStatServerBytesOut
        chart_meta:
          description: The number of bytes sent to server-side from the specified node address
          family: 'LoadBalancer/Node/Server/Traffic/Out'
          unit: "By/s"
      - OID: 1.3.6.1.4.1.3375.2.2.4.2.3.1.8
        name: ltmNodeAddrStatServerTotConns
        chart_meta:
          description: The total connections from server-side to the specified node address
          family: 'LoadBalancer/Node/Server/Connection/Total'
          unit: "{connection}/s"
      - OID: 1.3.6.1.4.1.3375.2.2.4.2.3.1.17
        name: ltmNodeAddrStatTotRequests
        chart_meta:
          description: The total number of requests going through the specified node address
          family: 'LoadBalancer/Node/Request/Total'
          unit: "{request}/s"
      # Gauges
      - OID: 1.3.6.1.4.1.3375.2.2.4.2.3.1.9
        name: ltmNodeAddrStatServerCurConns
        chart_meta:
          description: The current connections from server-side to the specified node address
          family: 'LoadBalancer/Node/Server/Connection/Current'
          unit: "{connection}"
      - OID: 1.3.6.1.4.1.3375.2.2.4.2.3.1.21
        name: ltmNodeAddrStatCurSessions
        chart_meta:
          description: The number of current sessions going through the specified node address
          family: 'LoadBalancer/Node/Session/Current'
          unit: "{session}"
      - OID: 1.3.6.1.4.1.3375.2.2.4.2.3.1.22
        name: ltmNodeAddrStatCurrentConnsPerSec
        chart_meta:
          description: The number of current connections per second to the specified node address
          family: 'LoadBalancer/Node/Connection/Rate'
          unit: "{connection}/s"
      - OID: 1.3.6.1.4.1.3375.2.2.4.2.3.1.23
        name: ltmNodeAddrStatDurationRateExceeded
        chart_meta:
          description: Duration of time in seconds the specified node address has exceeded the configured connection rate limit
          family: 'LoadBalancer/Node/RateLimit/Duration'
          unit: "s"
    metric_tags:
      - tag: node_name
        symbol:
          OID: 1.3.6.1.4.1.3375.2.2.4.2.3.1.20
          name: ltmNodeAddrStatNodeName

  # Pools.

  - MIB: F5-BIGIP-LOCAL-MIB
    symbol:
      OID: 1.3.6.1.4.1.3375.2.2.5.1.1
      name: ltmPoolNumber
      chart_meta:
        description: The number of ltmPool entries in the table
        family: 'LoadBalancer/Pool/Count'
        unit: "{pool}"

  - MIB: F5-BIGIP-LOCAL-MIB
    table:
      OID: 1.3.6.1.4.1.3375.2.2.5.1.2
      name: ltmPoolTable
    symbols:
      # Gauges
      - OID: 1.3.6.1.4.1.3375.2.2.5.1.2.1.8
        name: ltmPoolActiveMemberCnt
        chart_meta:
          description: The number of the current active members in the specified pool
          family: 'LoadBalancer/Pool/Member/Active'
          unit: "{member}"
      - OID: 1.3.6.1.4.1.3375.2.2.5.1.2.1.16
        name: ltmPoolDynamicRatioSum
        chart_meta:
          description: The sum of the dynamic ratio from all the members of the specified pool
          family: 'LoadBalancer/Pool/Ratio/DynamicSum'
          unit: "{ratio}"
      - OID: 1.3.6.1.4.1.3375.2.2.5.1.2.1.23
        name: ltmPoolMemberCnt
        chart_meta:
          description: The total number of members in the specified pool
          family: 'LoadBalancer/Pool/Member/Total'
          unit: "{member}"
    metric_tags:
      - tag: pool_name
        symbol:
          OID: 1.3.6.1.4.1.3375.2.2.5.1.2.1.1
          name: ltmPoolName

  - MIB: F5-BIGIP-LOCAL-MIB
    table:
      OID: 1.3.6.1.4.1.3375.2.2.5.2.3
      name: ltmPoolStatTable
    symbols:
      # Counters (= rates)
      - OID: 1.3.6.1.4.1.3375.2.2.5.2.3.1.2
        name: ltmPoolStatServerPktsIn
        chart_meta:
          description: The number of packets received by the specified pool from server-side
          family: 'LoadBalancer/Pool/Server/Packet/In'
          unit: "{packet}/s"
      - OID: 1.3.6.1.4.1.3375.2.2.5.2.3.1.3
        name: ltmPoolStatServerBytesIn
        chart_meta:
          description: The number of bytes received by the specified pool from server-side
          family: 'LoadBalancer/Pool/Server/Traffic/In'
          unit: "By/s"
      - OID: 1.3.6.1.4.1.3375.2.2.5.2.3.1.4
        name: ltmPoolStatServerPktsOut
        chart_meta:
          description: The number of packets sent to server-side from the specified pool
          family: 'LoadBalancer/Pool/Server/Packet/Out'
          unit: "{packet}/s"
      - OID: 1.3.6.1.4.1.3375.2.2.5.2.3.1.5
        name: ltmPoolStatServerBytesOut
        chart_meta:
          description: The number of bytes sent to server-side from the specified pool
          family: 'LoadBalancer/Pool/Server/Traffic/Out'
          unit: "By/s"
      - OID: 1.3.6.1.4.1.3375.2.2.5.2.3.1.7
        name: ltmPoolStatServerTotConns
        chart_meta:
          description: The total connections from server-side to the specified pool
          family: 'LoadBalancer/Pool/Server/Connection/Total'
          unit: "{connection}/s"
      - OID: 1.3.6.1.4.1.3375.2.2.5.2.3.1.23
        name: ltmPoolStatConnqServiced
        chart_meta:
          description: Number of entries that have been removed from the queue, sum
          family: 'LoadBalancer/Pool/Queue/Serviced'
          unit: "{connection}/s"
      - OID: 1.3.6.1.4.1.3375.2.2.5.2.3.1.30
        name: ltmPoolStatTotRequests
        chart_meta:
          description: The total number of requests to the specified pool
          family: 'LoadBalancer/Pool/Request/Total'
          unit: "{request}/s"
      # Gauges
      - OID: 1.3.6.1.4.1.3375.2.2.5.2.3.1.8
        name: ltmPoolStatServerCurConns
        chart_meta:
          description: The current connections from server-side to the specified pool
          family: 'LoadBalancer/Pool/Server/Connection/Current'
          unit: "{connection}"
      - OID: 1.3.6.1.4.1.3375.2.2.5.2.3.1.18
        name: ltmPoolStatConnqDepth
        chart_meta:
          description: Number of connections currently in queue, sum
          family: 'LoadBalancer/Pool/Queue/Depth'
          unit: "{connection}"
      - OID: 1.3.6.1.4.1.3375.2.2.5.2.3.1.19
        name: ltmPoolStatConnqAgeHead
        chart_meta:
          description: Age in milliseconds of the oldest queue entry, max
          family: 'LoadBalancer/Pool/Queue/AgeHead'
          unit: "ms"
      - OID: 1.3.6.1.4.1.3375.2.2.5.2.3.1.31
        name: ltmPoolStatCurSessions
        chart_meta:
          description: The current number of sessions to the specified pool
          family: 'LoadBalancer/Pool/Session/Current'
          unit: "{session}"
    metric_tags:
      - tag: pool_name
        symbol:
          OID: 1.3.6.1.4.1.3375.2.2.5.2.3.1.1
          name: ltmPoolStatName

  # Pool members.

  - MIB: F5-BIGIP-LOCAL-MIB
    symbol:
      OID: 1.3.6.1.4.1.3375.2.2.5.3.1
      name: ltmPoolMemberNumber
      chart_meta:
        description: The number of ltmPoolMember entries in the table
        family: 'LoadBalancer/PoolMember/Count'
        unit: "{member}"

  - MIB: F5-BIGIP-LOCAL-MIB
    table:
      OID: 1.3.6.1.4.1.3375.2.2.5.3.2
      name: ltmPoolMemberTable
    symbols:
      # Gauges
      - OID: 1.3.6.1.4.1.3375.2.2.5.3.2.1.5
        name: ltmPoolMemberConnLimit
        chart_meta:
          description: The maximum connections allowed to the specified pool member
          family: 'LoadBalancer/PoolMember/Connection/Limit'
          unit: "{connection}"
      - OID: 1.3.6.1.4.1.3375.2.2.5.3.2.1.6
        name: ltmPoolMemberRatio
        chart_meta:
          description: The load balancing ratio of the specified pool member used in pool member ratio load balancing mode
          family: 'LoadBalancer/PoolMember/Ratio/Static'
          unit: "{ratio}"
      - OID: 1.3.6.1.4.1.3375.2.2.5.3.2.1.9
        name: ltmPoolMemberDynamicRatio
        chart_meta:
          description: The dynamic ratio for the specified pool member used in load balance algorithm
          family: 'LoadBalancer/PoolMember/Ratio/Dynamic'
          unit: "{ratio}"
      - OID: 1.3.6.1.4.1.3375.2.2.5.3.2.1.10
        name: ltmPoolMemberMonitorState
        chart_meta:
          description: The internal tmm monitor state for the specified node address
          family: 'LoadBalancer/PoolMember/Monitor/State'
          unit: "{status}"
        mapping:
          0: unchecked
          1: checking
          2: inband
          3: forced_up
          4: up
          19: down
          20: forced_down
          22: irule_down
          23: inband_down
          24: down_manual_resume
          25: disabled
      - OID: 1.3.6.1.4.1.3375.2.2.5.3.2.1.11
        name: ltmPoolMemberMonitorStatus
        chart_meta:
          description: The hierarchical load balance state for the specified node address including parent status
          family: 'LoadBalancer/PoolMember/Monitor/Status'
          unit: "{status}"
        mapping:
          0: unchecked
          1: checking
          2: inband
          3: forced_up
          4: up
          19: down
          20: forced_down
          22: irule_down
          23: inband_down
          24: down_manual_resume
          25: disabled
      - OID: 1.3.6.1.4.1.3375.2.2.5.3.2.1.13
        name: ltmPoolMemberSessionStatus
        chart_meta:
          description: The hierarchical status of the session including parent status for the specified pool member
          family: 'LoadBalancer/PoolMember/Session/Status'
          unit: "{status}"
        mapping:
          1: enabled
          2: addrdisabled
          3: servdisabled'
          4: disabled
          5: forceddisabled
    metric_tags:
      - tag: pool_name
        symbol:
          OID: 1.3.6.1.4.1.3375.2.2.5.3.2.1.1
          name: ltmPoolMemberPoolName
      - tag: node_name
        symbol:
          OID: 1.3.6.1.4.1.3375.2.2.5.3.2.1.19
          name: ltmPoolMemberNodeName

  - MIB: F5-BIGIP-LOCAL-MIB
    table:
      OID: 1.3.6.1.4.1.3375.2.2.5.4.3
      name: ltmPoolMemberStatTable
    symbols:
      # Counters (= rates)
      - OID: 1.3.6.1.4.1.3375.2.2.5.4.3.1.5
        name: ltmPoolMemberStatServerPktsIn
        chart_meta:
          description: The number of packets received by the specified pool member from server-side
          family: 'LoadBalancer/PoolMember/Server/Packet/In'
          unit: "{packet}/s"
      - OID: 1.3.6.1.4.1.3375.2.2.5.4.3.1.6
        name: ltmPoolMemberStatServerBytesIn
        chart_meta:
          description: The number of bytes received by the specified pool member from server-side
          family: 'LoadBalancer/PoolMember/Server/Traffic/In'
          unit: "By/s"
      - OID: 1.3.6.1.4.1.3375.2.2.5.4.3.1.7
        name: ltmPoolMemberStatServerPktsOut
        chart_meta:
          description: The number of packets sent to server-side from the specified pool member
          family: 'LoadBalancer/PoolMember/Server/Packet/Out'
          unit: "{packet}/s"
      - OID: 1.3.6.1.4.1.3375.2.2.5.4.3.1.8
        name: ltmPoolMemberStatServerBytesOut
        chart_meta:
          description: The number of bytes sent to server-side from the specified pool member
          family: 'LoadBalancer/PoolMember/Server/Traffic/Out'
          unit: "By/s"
      - OID: 1.3.6.1.4.1.3375.2.2.5.4.3.1.10
        name: ltmPoolMemberStatServerTotConns
        chart_meta:
          description: The total connections from server-side to the specified pool member
          family: 'LoadBalancer/PoolMember/Server/Connection/Total'
          unit: "{connection}/s"
      - OID: 1.3.6.1.4.1.3375.2.2.5.4.3.1.19
        name: ltmPoolMemberStatTotRequests
        chart_meta:
          description: The total number of requests going through the specified pool member
          family: 'LoadBalancer/PoolMember/Request/Total'
          unit: "{request}/s"
      - OID: 1.3.6.1.4.1.3375.2.2.5.4.3.1.27
        name: ltmPoolMemberStatConnqServiced
        chart_meta:
          description: Number of entries that have been removed from the queue, sum
          family: 'LoadBalancer/PoolMember/Queue/Serviced'
          unit: "{connection}/s"
    metric_tags:
      - tag: pool_name
        symbol:
          OID: 1.3.6.1.4.1.3375.2.2.5.4.3.1.1
          name: ltmPoolMemberStatPoolName
      - tag: node_name
        symbol:
          OID: 1.3.6.1.4.1.3375.2.2.5.4.3.1.28
          name: ltmPoolMemberStatNodeName
