mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
refactor: move some os from linux and freebsd discovery files to yaml (#5429)
This commit is contained in:
committed by
Neil Lathwood
parent
34084af803
commit
0ab2f18f7d
@@ -5,3 +5,11 @@ icon: cambium
|
||||
over:
|
||||
- { graph: device_bits, text: 'Device Traffic' }
|
||||
group: cambium
|
||||
discovery:
|
||||
- sysObjectId:
|
||||
- .1.3.6.1.4.1.17713.21
|
||||
- sysDescr_regex:
|
||||
- '/^Cambium PTP 50650/'
|
||||
- '/^PTP250/'
|
||||
- '/^Cambium/'
|
||||
|
||||
|
||||
@@ -7,6 +7,9 @@ over:
|
||||
- { graph: device_bits, text: 'Device Traffic' }
|
||||
- { graph: device_processor, text: 'Processor Usage' }
|
||||
- { graph: device_mempool, text: 'Memory Usage' }
|
||||
discovery:
|
||||
- sysDescr_regex: '/^Linux.*Cisco Small Business/'
|
||||
|
||||
poller_modules:
|
||||
cisco-cbqos: 1
|
||||
cisco-cef: 1
|
||||
|
||||
@@ -2,6 +2,11 @@ os: ciscowap
|
||||
text: 'Cisco Wireless Acess Point'
|
||||
type: wireless
|
||||
icon: cisco
|
||||
discovery:
|
||||
- sysObjectId:
|
||||
- .1.3.6.1.4.1.9.6.1.32.321.1
|
||||
- sysDescr:
|
||||
- 'Cisco Small Business WAP'
|
||||
poller_modules:
|
||||
cisco-cbqos: 1
|
||||
cisco-cef: 1
|
||||
|
||||
@@ -8,3 +8,6 @@ over:
|
||||
- { graph: device_processor, text: 'Processor Usage' }
|
||||
- { graph: device_mempool, text: 'Memory Usage' }
|
||||
processor_stacked: 1
|
||||
discovery:
|
||||
- sysObjectId:
|
||||
- .1.3.6.1.4.1.40310
|
||||
|
||||
@@ -8,3 +8,5 @@ over:
|
||||
- { graph: device_processor, text: 'Processor Usage' }
|
||||
- { graph: device_mempool, text: 'Memory Usage' }
|
||||
processor_stacked: 1
|
||||
discovery:
|
||||
- sysDescr_regex: '/^Linux.*endian/'
|
||||
|
||||
@@ -6,3 +6,5 @@ over:
|
||||
- { graph: device_bits, text: 'Device Traffic' }
|
||||
- { graph: device_processor, text: 'Processor Usage' }
|
||||
- { graph: device_mempool, text: 'Memory Usage' }
|
||||
discovery:
|
||||
- sysDescr_regex: '/^Linux mirthtemplate/'
|
||||
|
||||
@@ -6,3 +6,6 @@ over:
|
||||
- { graph: device_bits, text: 'Device Traffic' }
|
||||
- { graph: device_processor, text: 'CPU Usage' }
|
||||
processor_stacked: 1
|
||||
discovery:
|
||||
- sysDescr:
|
||||
- m0n0wall
|
||||
|
||||
@@ -4,3 +4,7 @@ type: environment
|
||||
over:
|
||||
- { graph: device_temperature, text: Temperature }
|
||||
- { graph: device_humidity, text: Humidity }
|
||||
discovery:
|
||||
- sysObjectId:
|
||||
- .1.3.6.1.4.1.5528.100.20.10.2014
|
||||
- .1.3.6.1.4.1.5528.100.20.10.2016
|
||||
|
||||
@@ -6,3 +6,6 @@ processor_stacked: 1
|
||||
over:
|
||||
- { graph: device_processor, text: 'Processor Usage' }
|
||||
- { graph: device_ucd_memory, text: 'Memory Usage' }
|
||||
discovery:
|
||||
- sysDescr:
|
||||
- pfSense
|
||||
|
||||
@@ -2,3 +2,8 @@ os: powerwalker
|
||||
text: 'PowerWalker UPS'
|
||||
type: power
|
||||
icon: powerwalker
|
||||
discovery:
|
||||
- sysObjectId:
|
||||
- .1.3.6.1.4.1.935.10
|
||||
- sysDescr_regex:
|
||||
- '/^Network Management Card for UPS/'
|
||||
|
||||
@@ -8,3 +8,6 @@ over:
|
||||
- { graph: device_processor, text: 'Processor Usage' }
|
||||
- { graph: device_mempool, text: 'Memory Usage' }
|
||||
processor_stacked: 1
|
||||
discovery:
|
||||
- sysObjectId:
|
||||
- .1.3.6.1.4.1.15397.2
|
||||
|
||||
@@ -4,3 +4,9 @@ ifname: 1
|
||||
type: network
|
||||
over:
|
||||
- { graph: device_bits, text: Traffic }
|
||||
discovery:
|
||||
- sysDescr:
|
||||
- 'TG585v7'
|
||||
- 'SpeedTouch '
|
||||
- sysDescr_regex:
|
||||
- '/^ST/'
|
||||
|
||||
11
includes/definitions/voswall.yaml
Normal file
11
includes/definitions/voswall.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
os: voswall
|
||||
group: unix
|
||||
text: Voswall
|
||||
type: firewall
|
||||
over:
|
||||
- { graph: device_bits, text: 'Device Traffic' }
|
||||
- { graph: device_processor, text: 'CPU Usage' }
|
||||
processor_stacked: 1
|
||||
discovery:
|
||||
- sysDescr:
|
||||
- Voswall
|
||||
Reference in New Issue
Block a user