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