mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
refactor: use sysDescr to simplify the vyatta detection (#6455)
This commit is contained in:
committed by
Neil Lathwood
parent
9385bc54de
commit
d8fcdc9ae3
@@ -7,5 +7,8 @@ over:
|
||||
- { graph: device_processor, text: 'Processor Usage' }
|
||||
- { graph: device_ucd_memory, text: 'Memory Usage' }
|
||||
discovery:
|
||||
- sysDescr_regex:
|
||||
- '/^Vyatta((?!VyOS).)*$/' # = starts_with($sysDescr, 'Vyatta') && !str_contains($sysDescr, 'VyOS')
|
||||
-
|
||||
sysDescr_regex:
|
||||
- '/^Vyatta/'
|
||||
sysDescr_except:
|
||||
- 'VyOS'
|
||||
|
||||
Reference in New Issue
Block a user