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' }
discovery:
-
sysDescr:
- Arista Networks EOS
sysObjectID: .1.3.6.1.4.1.30065.1
poller_modules:
wireless: false
ipmi: false

View File

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