You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
scrutiny/collector/pkg/detect
Jason Kulatunga a53397210c
adding mechanism to override the smartctl commands used by scrutiny for device scanning, device identification and smart data retrieval.
2 years ago
..
testdata adding tests for Detect struct in collector. Adding ability to mock out exec.Command calls. 2 years ago
detect.go adding mechanism to override the smartctl commands used by scrutiny for device scanning, device identification and smart data retrieval. 2 years ago
detect_test.go adding mechanism to override the smartctl commands used by scrutiny for device scanning, device identification and smart data retrieval. 2 years ago
devices_darwin.go added a way to retrieve raw udev data. Can be used to retrieve disk label, UUID and "disk/by-id/*" device info. 2 years ago
devices_freebsd.go adding tests for Detect struct in collector. Adding ability to mock out exec.Command calls. 2 years ago
devices_linux.go added a way to retrieve raw udev data. Can be used to retrieve disk label, UUID and "disk/by-id/*" device info. 2 years ago
devices_linux_test.go fix tests. 4 years ago
devices_windows.go adding tests for Detect struct in collector. Adding ability to mock out exec.Command calls. 2 years ago
wwn.go wwn should always be lowercase for consistency. It's used in the URL for pushing smart data. 4 years ago
wwn_test.go new device detection engine (OS aware). Uses smartctl --scan to detect drives (and conditionally uses jaypipes/ghw). WWN is calculated from smartctl data, then retrieved from GHW, and fallsback to serial number. WWN calcuation code is based on IEEE spec, for "Registered" IEEE format - NAA5. TODO: support NAA6 and other formats? 4 years ago