prometheus_snmp: WIP: lldp
This commit is contained in:
parent
94ba30cc3b
commit
061b6f1049
1 changed files with 16 additions and 0 deletions
|
@ -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
|
||||
...
|
||||
|
|
Loading…
Reference in a new issue