This website requires JavaScript.
Explore
Help
Register
Sign In
gilles
/
scrutiny
Watch
1
Star
0
Fork
0
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
4057699cad031b117b4c370ec6e62371aa1bba51
scrutiny
/
collector
/
pkg
/
detect
T
History
Jason Kulatunga
a53397210c
adding mechanism to override the smartctl commands used by scrutiny for device scanning, device identification and smart data retrieval.
...
adding tests for command overrides. rename GetScanOverrides() to GetDeviceOverrides()
fixes
#255
2022-05-28 15:32:44 -07:00
..
testdata
adding tests for Detect struct in collector. Adding ability to mock out exec.Command calls.
2022-05-06 20:07:23 -07:00
detect_test.go
adding mechanism to override the smartctl commands used by scrutiny for device scanning, device identification and smart data retrieval.
2022-05-28 15:32:44 -07:00
detect.go
adding mechanism to override the smartctl commands used by scrutiny for device scanning, device identification and smart data retrieval.
2022-05-28 15:32:44 -07:00
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.
2022-05-20 20:59:29 -07:00
devices_freebsd.go
adding tests for Detect struct in collector. Adding ability to mock out exec.Command calls.
2022-05-06 20:07:23 -07:00
devices_linux_test.go
fix tests.
2020-09-21 21:22:07 -06:00
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.
2022-05-20 20:59:29 -07:00
devices_windows.go
adding tests for Detect struct in collector. Adding ability to mock out exec.Command calls.
2022-05-06 20:07:23 -07:00
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?
2020-09-20 17:37:43 -06:00
wwn.go
wwn should always be lowercase for consistency. It's used in the URL for pushing smart data.
2020-09-23 10:37:59 -06:00