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