This website requires JavaScript.
Explore
Help
Register
Sign In
gilles
/
scrutiny
Watch
1
Star
0
Fork
0
You've already forked scrutiny
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
3285eb659f0349583a6cdd6b39fb201fc0ac1c6c
scrutiny
/
collector
/
pkg
/
detect
T
History
Jason Kulatunga
3d9001a5e4
when deviceType not specified in collector config, scrutiny will ignore the device. We need to make sure we correctly override the device.
...
fixes
#255
2022-06-25 11:19: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
when deviceType not specified in collector config, scrutiny will ignore the device. We need to make sure we correctly override the device.
2022-06-25 11:19:44 -07:00
detect.go
when deviceType not specified in collector config, scrutiny will ignore the device. We need to make sure we correctly override the device.
2022-06-25 11:19: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