prometheus_snmp: WIP: lldp

This commit is contained in:
jeltz 2023-11-06 22:07:06 +01:00
parent 94ba30cc3b
commit 061b6f1049
Signed by: jeltz
GPG key ID: 800882B66C0C3326

View file

@ -2,6 +2,8 @@
prometheus_snmp__modules_quanta:
auth:
community: "{{ vault_snmp_quanta_community }}"
timeout: 60s
retries: 3
walk:
- interfaces
- ifXTable
@ -27,6 +29,8 @@ prometheus_snmp__modules_quanta:
- dot3CollTable
- lldpLocChassisId
- lldpRemTable
- lldpLocPortTable
- dot1dBasePort
lookups:
- source_indexes:
- ifIndex
@ -59,6 +63,14 @@ prometheus_snmp__modules_quanta:
- source_indexes:
- dot3StatsIndex
lookup: ifName
- source_indexes:
- lldpRemTimeMark
- lldpRemLocalPortNum
- lldpRemIndex
lookup: lldpRemChassisId
#- source_indexes:
# - lldpLocPortNum
# lookup: lldpLocPortIdSubtype
overrides:
ifIndex:
ignore: true
@ -106,4 +118,8 @@ prometheus_snmp__modules_quanta:
ignore: true
dot3StatsDuplexStatus:
type: EnumAsStateSet
lldpLocPortIdSubtype:
type: EnumAsInfo
lldpRemPortIdSubtype:
type: EnumAsInfo
...