rfc1628_ups: version: 1 walk: - sysUpTime - interfaces # Use OIDs to avoid conflict with APCUPS if using with prometheus' default generator.yml # Comment out anything you don't want prometheus to query - 1.3.6.1.2.1.33.1.1 # upsIdent - 1.3.6.1.2.1.33.1.2 # upsBattery - 1.3.6.1.2.1.33.1.3 # upsInput - 1.3.6.1.2.1.33.1.4 # upsOutput - 1.3.6.1.2.1.33.1.5 # upsBypass - 1.3.6.1.2.1.33.1.6 # upsAlarm - 1.3.6.1.2.1.33.1.7 # upsTest - 1.3.6.1.2.1.33.1.8 # upsControl - 1.3.6.1.2.1.33.1.9 # upsConfig lookups: - source_indexes: [ifIndex] # Use OID to avoid conflict with ifDescr in other modules lookup: 1.3.6.1.2.1.2.2.1.2 drop_source_indexes: true overrides: ifType: type: EnumAsInfo upsBatteryStatus: type: EnumAsStateSet upsOutputSource: type: EnumAsStateSet upsTestResultsSummary: type: EnumAsStateSet upsShutdownType: type: EnumAsStateSet upsAutoRestart: type: EnumAsStateSet upsConfigAudibleStatus: type: EnumAsStateSet