prometheus_snmp: add various overrides

This commit is contained in:
jeltz 2023-11-01 18:45:53 +01:00
parent 190f31dffd
commit 5e5d2268f3
Signed by: jeltz
GPG key ID: 800882B66C0C3326

View file

@ -20,6 +20,7 @@ prometheus_snmp__modules:
- snAgentTemp - snAgentTemp
- snAgentCpu - snAgentCpu
- snSwInfo - snSwInfo
- snSwIfInfoTable
lookups: lookups:
- source_indexes: - source_indexes:
- ifIndex - ifIndex
@ -37,6 +38,12 @@ prometheus_snmp__modules:
- snAgentTempSlotNum - snAgentTempSlotNum
- snAgentTempSensorId - snAgentTempSensorId
lookup: snAgentTempSensorDescr lookup: snAgentTempSensorDescr
- source_indexes:
- snSwIfInfoPortNum
lookup: snSwIfName
- source_indexes:
- snSwIfInfoPortNum
lookup: snSwIfDescr
overrides: overrides:
ifIndex: ifIndex:
ignore: true ignore: true
@ -58,4 +65,18 @@ prometheus_snmp__modules:
type: EnumAsStateSet type: EnumAsStateSet
snChasPwrSupplyOperStatus: snChasPwrSupplyOperStatus:
type: EnumAsStateSet type: EnumAsStateSet
snSwIfName:
ignore: true
snSwIfDescr:
ignore: true
snSwIfVlanId:
ignore: true
snSwIfInfoPortNum:
ignore: true
snSwIfInfoMonitorMode:
type: EnumAsStateSet
snSwIfInfoMirrorPorts:
ignore: true
snSwIfInfoMediaType:
type: EnumAsInfo
... ...