# NX-OS feature control table for Cisco Nexus.
# MIB: CISCO-FEATURE-CONTROL-MIB (1.3.6.1.4.1.9.9.377)
# Reports whether NX-OS features (vpc, vxlan, ospf, bgp, bfd, lacp, hsrp, etc.) are
# enabled, disabled, or enabled-but-not-running. Useful for alerting on features that
# should be running but aren't, and for skipping disabled-feature polls.

metrics:
  - MIB: CISCO-FEATURE-CONTROL-MIB
    table:
      OID: 1.3.6.1.4.1.9.9.377.1.1.2
      name: cfcFeatureCtrl2Table
    symbols:
      - OID: 1.3.6.1.4.1.9.9.377.1.1.2.1.8
        name: cfcFeatureCtrlOpStatus2
        chart_meta:
          description: Current operational status of the NX-OS feature
          family: 'System/NX-OS/Feature/Status'
          unit: "{status}"
        mapping:
          1: unknown
          2: enabled
          3: disabled
          4: installed
          5: uninstalled
          6: enabled_not_running
    metric_tags:
      - tag: feature_index
        index: 1
      - tag: feature_instance
        index: 2
      - tag: feature_name
        symbol:
          OID: 1.3.6.1.4.1.9.9.377.1.1.2.1.3
          name: cfcFeatureCtrlName2
