Arista EOS, use sysObjectID for detection (to include vEOS) (#13534)

Also, simplify regex
This commit is contained in:
Tony Murray
2021-11-18 02:28:47 -06:00
committed by GitHub
parent c79b187d72
commit f12d1f98cb
2 changed files with 2 additions and 3 deletions

View File

@@ -9,8 +9,7 @@ over:
- { graph: device_mempool, text: 'Memory Usage' } - { graph: device_mempool, text: 'Memory Usage' }
discovery: discovery:
- -
sysDescr: sysObjectID: .1.3.6.1.4.1.30065.1
- Arista Networks EOS
poller_modules: poller_modules:
wireless: false wireless: false
ipmi: false ipmi: false

View File

@@ -1,4 +1,4 @@
modules: modules:
os: os:
sysDescr_regex: '/.+ version (?<version>.+) running on .+ (?<hardware>\S+)$/' sysDescr_regex: '/ version (?<version>.+) running on .+ (?<hardware>\S+)$/'
serial: ENTITY-MIB::entPhysicalSerialNum.1 serial: ENTITY-MIB::entPhysicalSerialNum.1