b44ef5cb9c
/scrutiny/config/collector.yaml Adding ability to specify host identifier (label), that is updated on every collector run. Can be specified by `host-id` CLI or `COLLECTOR_HOST_ID` env var. Created a config class, interface and associated tests. Created a "TransformDetectedDrives" function, that will allow users to insert drives not detected by Smarctl --scan, ignore drives that they dont want, and override smartctl device type. Added Upsert functionality when registering devices. Replaced "github.com/jinzhu/gorm" with "gorm.io/gorm" (ORM location moved, was using incorrect lib url) Removed machineid library.
20 lines
302 B
YAML
20 lines
302 B
YAML
version: 1
|
|
devices:
|
|
- device: /dev/bus/0
|
|
type:
|
|
- megaraid,14
|
|
- megaraid,15
|
|
- megaraid,18
|
|
- megaraid,19
|
|
- megaraid,20
|
|
- megaraid,21
|
|
|
|
- device: /dev/twa0
|
|
type:
|
|
- 3ware,0
|
|
- 3ware,1
|
|
- 3ware,2
|
|
- 3ware,3
|
|
- 3ware,4
|
|
- 3ware,5
|