# Profile for Cisco WLC
# This profile is only compatible with the core SNMP integration

extends:
  - _system-base.yaml
  - _std-if-mib.yaml
  - _std-tcp-mib.yaml
  - _std-udp-mib.yaml
  - _cisco-wlc.yaml
  - _cisco-metadata.yaml

metadata:
  device:
    fields:
      serial_number:
        symbol:
          OID: 1.3.6.1.4.1.14179.1.1.1.4
          name: agentInventorySerialNumber
      type:
        value: "Wireless LAN Controller"
      vendor:
        value: "Cisco"

selector:
  - sysobjectid:
      include:
        - 1.3.6.1.4.1.9.1.818 # ciscoNMWLCE
        - 1.3.6.1.4.1.9.1.828 # ciscoAirWlc2106K9
        - 1.3.6.1.4.1.9.1.926 # cisco520WLC
        - 1.3.6.1.4.1.9.1.1069 # cisco5500Wlc
        - 1.3.6.1.4.1.9.1.1279 # ciscoAirCt2504K9
        - 1.3.6.1.4.1.9.1.1295 # cisco7500Wlc
        - 1.3.6.1.4.1.9.1.1615 # cisco8500WLC
        - 1.3.6.1.4.1.9.1.1631 # ciscoVirtualWlc
        - 1.3.6.1.4.1.9.1.1645 # cisco5760wlc
        - 1.3.6.1.4.1.9.1.1926 # ciscoWlcCt5508K9
        - 1.3.6.1.4.1.9.1.1927 # ciscoWlcCt2504K9
        - 1.3.6.1.4.1.9.1.2170 # cisco5520WLC
        - 1.3.6.1.4.1.9.1.2171 # cisco8540Wlc
        - 1.3.6.1.4.1.9.1.2427 # cisco3504WLC

metrics:
  - MIB: AIRESPACE-SWITCHING-MIB
    symbol:
      OID: 1.3.6.1.4.1.14179.1.1.5.1 # agentCurrentCPUUtilization
      name: cpu.usage
      chart_meta:
        description: The current CPU utilization
        family: 'System/CPU/Usage'
        unit: "%"
  - MIB: AIRESPACE-SWITCHING-MIB
    symbol:
      OID: 1.3.6.1.4.1.14179.1.1.5.3 # agentFreeMemory
      name: memory.free
      chart_meta:
        description: Free RAM of the switch
        family: 'System/Memory/RAM/Free'
        unit: "By"
  - MIB: AIRESPACE-SWITCHING-MIB
    symbol:
      OID: 1.3.6.1.4.1.14179.1.1.5.2 # agentTotalMemory
      name: memory.total
      chart_meta:
        description: Total RAM of the switch
        family: 'System/Memory/RAM/Total'
        unit: "By"
