extends:
  - cisco.yaml

metadata:
  device:
    fields:
      type:
        value: Access Point
      vendor:
        value: Cisco

selector:
  - sysobjectid:
      include:
        - 1.3.6.1.4.1.9.1.525 # Cisco AIR AP 1210
        - 1.3.6.1.4.1.9.1.618 # Cisco AIR AP 1130
        - 1.3.6.1.4.1.9.1.1660 # AIR-SAP1602E-C-K9
        - 1.3.6.1.4.1.9.1.2371 # Cisco Aironet 1830

metrics:
  - MIB: CISCO-DOT11-ASSOCIATION-MIB
    table:
      name: cDot11ActiveDevicesTable
      OID: 1.3.6.1.4.1.9.9.273.1.1.2
    symbols:
      - name: cDot11ActiveWirelessClients
        OID: 1.3.6.1.4.1.9.9.273.1.1.2.1.1
        chart_meta:
          description: Number of wireless clients currently associating with this device on this interface
          family: 'Network/Interface/Wireless/Client/Active'
          unit: "{client}"
      - name: cDot11ActiveBridges
        OID: 1.3.6.1.4.1.9.9.273.1.1.2.1.2
        chart_meta:
          description: Number of bridges currently associating with this device on this interface
          family: 'Network/Interface/Wireless/Bridge/Active'
          unit: "{bridge}"
      - name: cDot11ActiveRepeaters
        OID: 1.3.6.1.4.1.9.9.273.1.1.2.1.3
        chart_meta:
          description: Number of repeaters currently associating with this device on this interface
          family: 'Network/Interface/Wireless/Repeater/Active'
          unit: "{repeater}"
      - name: cDot11AssStatsAssociated
        OID: 1.3.6.1.4.1.9.9.273.1.1.3.1.1
        chart_meta:
          description: Number of stations associated with this device on this interface since device re-started
          family: 'Network/Interface/Wireless/Station/Associated'
          unit: "{station}/s"
      - name: cDot11AssStatsAuthenticated
        OID: 1.3.6.1.4.1.9.9.273.1.1.3.1.2
        chart_meta:
          description: Number of stations authenticated with this device on this interface since device re-started
          family: 'Network/Interface/Wireless/Station/Authenticated'
          unit: "{station}/s"
      - name: cDot11AssStatsRoamedIn
        OID: 1.3.6.1.4.1.9.9.273.1.1.3.1.3
        chart_meta:
          description: Number of stations roamed from another device to this device on this interface since device re-started
          family: 'Network/Interface/Wireless/Station/Roamed/In'
          unit: "{station}/s"
      - name: cDot11AssStatsRoamedAway
        OID: 1.3.6.1.4.1.9.9.273.1.1.3.1.4
        chart_meta:
          description: Number of stations roamed away from this device on this interface since device re-started
          family: 'Network/Interface/Wireless/Station/Roamed/Out'
          unit: "{station}/s"
      - name: cDot11AssStatsDeauthenticated
        OID: 1.3.6.1.4.1.9.9.273.1.1.3.1.5
        chart_meta:
          description: Number of stations deauthenticated with this device on this interface since device re-started
          family: 'Network/Interface/Wireless/Station/Deauthenticated'
          unit: "{station}/s"
      - name: cDot11AssStatsDisassociated
        OID: 1.3.6.1.4.1.9.9.273.1.1.3.1.6
        chart_meta:
          description: Number of stations disassociated with this device on this interface since device re-started
          family: 'Network/Interface/Wireless/Station/Disassociated'
          unit: "{station}/s"
    metric_tags:
      - tag: interface
        table: ifXTable
        symbol:
          OID: 1.3.6.1.2.1.31.1.1.1.1
          name: ifName
