extends:
  - ruckus.yaml

selector:
  - sysobjectid:
      include:
        - 1.3.6.1.4.1.25053.3.1.5.*  # Ruckus ZoneDirector
        - 1.3.6.1.4.1.25053.3.1.5.1  # Ruckus ZD1000
        - 1.3.6.1.4.1.25053.3.1.5.2  # Ruckus ZD1100
        - 1.3.6.1.4.1.25053.3.1.5.3  # Ruckus ZD3000
        - 1.3.6.1.4.1.25053.3.1.5.8  # Ruckus ZD5000
        - 1.3.6.1.4.1.25053.3.1.5.15  # Ruckus ZD1200

metadata:
  device:
    fields:
      type:
        value: "Wireless LAN Controller"

metric_tags:
  - tag: ruckus_unleashed_system_model
    OID: 1.3.6.1.4.1.25053.1.15.1.1.1.1.9.0
    symbol: ruckusUnleashedSystemModel
  - tag: ruckus_unleashed_system_licensed_aps
    OID: 1.3.6.1.4.1.25053.1.15.1.1.1.1.12.0
    symbol: ruckusUnleashedSystemLicensedAPs
  - tag: ruckus_unleashed_system_serial_number
    OID: 1.3.6.1.4.1.25053.1.15.1.1.1.1.15.0
    symbol: ruckusUnleashedSystemSerialNumber

# RUCKUS-UNLEASHED-SYSTEM-MIB
# https://mibbrowser.online/mibdb_search.php?mib=RUCKUS-UNLEASHED-SYSTEM-MIB

metrics:
  - MIB: RUCKUS-UNLEASHED-SYSTEM-MIB
    symbol:
      name: cpu.usage
      OID: 1.3.6.1.4.1.25053.1.15.1.1.1.15.13.0 # ruckusUnleashedSystemStatsCPUUtil
      chart_meta:
        family: 'System/CPU/Usage'
        description: The current CPU utilization
        unit: "%"
  - MIB: RUCKUS-UNLEASHED-SYSTEM-MIB
    symbol:
      name: memory.usage
      OID: 1.3.6.1.4.1.25053.1.15.1.1.1.15.14.0
      chart_meta:
        family: 'System/Memory/Usage'
        description: Memory utilization
        unit: "%"
  - MIB: RUCKUS-UNLEASHED-SYSTEM-MIB
    symbol:
      name: ruckusUnleashedSystemStatsNumRegisteredAP
      OID: 1.3.6.1.4.1.25053.1.15.1.1.1.15.15.0
      chart_meta:
        family: 'Network/AccessPoint/Registered'
        description: Number of registered AP
        unit: "{access_point}"
  - MIB: RUCKUS-UNLEASHED-SYSTEM-MIB
    symbol:
      name: ruckusUnleashedSystemStatsNumAP
      OID: 1.3.6.1.4.1.25053.1.15.1.1.1.15.1.0
      chart_meta:
        family: 'Network/AccessPoint/Total'
        description: Number of AP
        unit: "{access_point}"
  - MIB: RUCKUS-UNLEASHED-SYSTEM-MIB
    symbol:
      name: ruckusUnleashedSystemStatsWLANTotalRxPkts
      OID: 1.3.6.1.4.1.25053.1.15.1.1.1.15.5.0
      chart_meta:
        family: 'Network/WLAN/Packet/Total/In'
        description: Total received packets of wireless interfaces
        unit: "{packet}/s"
  - MIB: RUCKUS-UNLEASHED-SYSTEM-MIB
    symbol:
      name: ruckusUnleashedSystemStatsWLANTotalRxBytes
      OID: 1.3.6.1.4.1.25053.1.15.1.1.1.15.6.0
      scale_factor: 8
      chart_meta:
        family: 'Network/WLAN/Traffic/Total/In'
        description: Total received bytes of wireless interfaces
        unit: "bit/s"
  - MIB: RUCKUS-UNLEASHED-SYSTEM-MIB
    symbol:
      name: ruckusUnleashedSystemStatsWLANTotalTxPkts
      OID: 1.3.6.1.4.1.25053.1.15.1.1.1.15.8.0
      chart_meta:
        family: 'Network/WLAN/Packet/Total/Out'
        description: Total transmitted packets of wireless interfaces
        unit: "{packet}/s"
  - MIB: RUCKUS-UNLEASHED-SYSTEM-MIB
    symbol:
      name: ruckusUnleashedSystemStatsWLANTotalTxBytes
      OID: 1.3.6.1.4.1.25053.1.15.1.1.1.15.9.0
      scale_factor: 8
      chart_meta:
        family: 'Network/WLAN/Traffic/Total/Out'
        description: Total transmitted bytes of wireless interfaces
        unit: "bit/s"
  - MIB: RUCKUS-UNLEASHED-SYSTEM-MIB
    symbol:
      name: ruckusUnleashedSystemStatsWLANTotalTxFail
      OID: 1.3.6.1.4.1.25053.1.15.1.1.1.15.11.0
      chart_meta:
        family: 'Network/WLAN/Packet/Failed/Out'
        description: Total transmitted fail packets of wireless interfaces
        unit: "{packet}/s"
  - MIB: RUCKUS-UNLEASHED-SYSTEM-MIB
    symbol:
      name: ruckusUnleashedSystemStatsWLANTotalTxRetry
      OID: 1.3.6.1.4.1.25053.1.15.1.1.1.15.12.0
      chart_meta:
        family: 'Network/WLAN/Packet/Retry/Out'
        description: Total transmitted retry packets of wireless interfaces
        unit: "{packet}/s"
  - MIB: RUCKUS-UNLEASHED-SYSTEM-MIB
    symbol:
      name: ruckusUnleashedSystemStatsWLANTotalAssocFail
      OID: 1.3.6.1.4.1.25053.1.15.1.1.1.15.16.0
      chart_meta:
        family: 'Network/WLAN/Association/Failed'
        description: Total number of failed station associations.
        unit: "{session}/s"
  - MIB: RUCKUS-UNLEASHED-SYSTEM-MIB
    symbol:
      name: ruckusUnleashedSystemStatsAllNumSta
      OID: 1.3.6.1.4.1.25053.1.15.1.1.1.15.30.0
      chart_meta:
        family: 'Network/Station/Connected'
        description: Number of All client devices
        unit: "{device}"
