Skip to content

Instantly share code, notes, and snippets.

@nsapa
Created January 14, 2022 23:25
Show Gist options
  • Save nsapa/3352723f24e224f85e67dfa58016baf6 to your computer and use it in GitHub Desktop.
Save nsapa/3352723f24e224f85e67dfa58016baf6 to your computer and use it in GitHub Desktop.
prometheus-snmp-exporter: generator.yml: Ruckus module with Unleashed override
ruckus:
walk:
- sysUpTime
- interfaces
- ifXTable
- ruckusCommon
- ruckusZD
- ruckusSCG
- ruckusSZ
- ruckusCTRL
- ruckusUnleashed
- ruckusEvents
- ruckusProducts
lookups:
- source_indexes: [ifIndex]
lookup: ifAlias
- source_indexes: [ifIndex]
# Uis OID to avoid conflict with PaloAlto PAN-COMMON-MIB.
lookup: 1.3.6.1.2.1.2.2.1.2 # ifDescr
- source_indexes: [ifIndex]
# Use OID to avoid conflict with Netscaler NS-ROOT-MIB.
lookup: 1.3.6.1.2.1.31.1.1.1.1 # ifName
overrides:
ifAlias:
ignore: true # Lookup metric
ifDescr:
ignore: true # Lookup metric
ifName:
ignore: true # Lookup metric
ifType:
type: EnumAsInfo
ruckusUnleashedSystemCountryCode:
type: DisplayString
ruckusUnleashedWLANAPEthIfname:
type: DisplayString
ruckusUnleashedWLANAPEthLabel:
type: DisplayString
ruckusUnleashedSystemMacAddr:
type: PhysAddress48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment