extends:
  - _system-base.yaml
  - _std-if-mib.yaml
  - _cisco-metadata.yaml
  # This profile does not import cisco.yaml on purpose

metadata:
  device:
    fields:
      type:
        value: Firewall/Firepower
      vendor:
        value: Cisco

selector:
  - sysobjectid:
      include:
        - 1.3.6.1.4.1.9.1.1902 # Cisco VASA (Cisco Firepower Threat Defense, Version 6.7.0.2)
        - 1.3.6.1.4.1.9.1.1903 # Cisco VASA System Context
        - 1.3.6.1.4.1.9.1.1904 # Cisco VASA Security Context
        - 1.3.6.1.4.1.9.1.2286 # Cisco FPR 9000 SM24
        - 1.3.6.1.4.1.9.1.2288 # Cisco FPR 9000 SM36
        - 1.3.6.1.4.1.9.1.2313 # Cisco FPR 4110 SM12
        - 1.3.6.1.4.1.9.1.2314 # Cisco FPR 4120 SM24
        - 1.3.6.1.4.1.9.1.2315 # Cisco FPR 4140 SM36
        - 1.3.6.1.4.1.9.1.2316 # Cisco FPR 4150 SM44
        - 1.3.6.1.4.1.9.1.2409 # Cisco FPR 9000 SM44
        - 1.3.6.1.4.1.9.1.2663 # Cisco FPR 1120 NGFW
        - 1.3.6.1.4.1.9.1.2757 # Cisco FPR 9000 SM56
        - 1.3.6.1.4.1.9.1.2772 # Cisco FPR 9000 SM40
        - 1.3.6.1.4.1.9.1.2773 # Cisco FPR 9000 SM48
        - 1.3.6.1.4.1.9.1.2774 # Cisco FPR 4115 SM24
        - 1.3.6.1.4.1.9.1.2775 # Cisco FPR 4125 SM32
        - 1.3.6.1.4.1.9.1.2776 # Cisco FPR 4145 SM44

metrics:
  - MIB: CISCO-PROCESS-MIB
    table:
      OID: 1.3.6.1.4.1.9.9.109.1.1.1
      name: cpmCPUTotalTable
    symbols:
      - OID: 1.3.6.1.4.1.9.9.109.1.1.1.1.7 # cpmCPUTotal1minRev
        name: cpu.usage
        chart_meta:
          description: The current CPU utilization
          family: 'System/CPU/Usage'
          unit: "%"
    metric_tags:
      - tag: cpu_index
        index: 1 # cpmCPUTotalIndex

  - MIB: CISCO-ENHANCED-MEMPOOL-MIB
    symbol:
      name: memory.used
      OID: 1.3.6.1.4.1.9.9.221.1.1.1.1.7.1.1 # cempMemPoolUsed.1.1
      chart_meta:
        description: Number of bytes from the memory pool that are currently in use by applications on the physical entity
        family: 'System/Memory/Used'
        unit: "By"
  - MIB: CISCO-ENHANCED-MEMPOOL-MIB
    symbol:
      name: memory.free
      OID: 1.3.6.1.4.1.9.9.221.1.1.1.1.8.1.1 # cempMemPoolFree.1.1
      chart_meta:
        description: Number of bytes from the memory pool that are currently unused on the physical entity
        family: 'System/Memory/Free'
        unit: "By"
  - MIB: CISCO-REMOTE-ACCESS-MONITOR-MIB
    symbol:
      OID: 1.3.6.1.4.1.9.9.392.1.4.1.2.0
      name: crasNumDeclinedSessions
      chart_meta:
        description: Number of session setup attempts which were declined due to authentication or authorization failure
        family: 'Network/VPN/RemoteAccess/Session/Setup/Declined'
        unit: "{session}/s"
  - MIB: CISCO-REMOTE-ACCESS-MONITOR-MIB
    symbol:
      OID: 1.3.6.1.4.1.9.9.392.1.4.1.3.0
      name: crasNumSetupFailInsufResources
      chart_meta:
        description: The number of session setup attempts that failed due to insufficient resources
        family: 'Network/VPN/RemoteAccess/Session/Setup/Failed'
        unit: "{session}/s"
      metric_type: monotonic_count
  - MIB: CISCO-REMOTE-ACCESS-MONITOR-MIB
    symbol:
      OID: 1.3.6.1.4.1.9.9.392.1.3.1.0
      name: crasNumSessions
      chart_meta:
        description: Number of currently active sessions
        family: 'Network/VPN/RemoteAccess/Session/Active'
        unit: "{session}"
  - MIB: CISCO-REMOTE-ACCESS-MONITOR-MIB
    symbol:
      OID: 1.3.6.1.4.1.9.9.392.1.1.1.0
      name: crasMaxSessionsSupportable
      chart_meta:
        description: The maximum number of remote access sessions that may be supported on this device
        family: 'Network/VPN/RemoteAccess/Session/Maximum'
        unit: "{session}"
  - MIB: CISCO-REMOTE-ACCESS-MONITOR-MIB
    symbol:
      OID: 1.3.6.1.4.1.9.9.392.1.3.3.0
      name: crasNumUsers
      chart_meta:
        description: The number of users who have active sessions
        family: 'Network/VPN/RemoteAccess/User/Active'
        unit: "{user}"
  - MIB: CISCO-REMOTE-ACCESS-MONITOR-MIB
    symbol:
      OID: 1.3.6.1.4.1.9.9.392.1.1.2.0
      name: crasMaxUsersSupportable
      chart_meta:
        description: The maximum number of remote access users for whom Remote Access sessions may be supported on this device
        family: 'Network/VPN/RemoteAccess/User/Maximum'
        unit: "{user}"
