Jason Kulatunga
|
21d07a0712
|
adding tests for Detect struct in collector. Adding ability to mock out exec.Command calls.
|
2022-05-06 20:07:23 -07:00 |
|
Jason Kulatunga
|
da890d95b6
|
Fixing forced logging of smartctl output irrespective of log level (now available at DEBUG level only)
TODO: add a table summary at INFO level.
fixes #123
|
2021-04-25 11:34:26 -07:00 |
|
Jason Kulatunga
|
297f0a51c5
|
adding ability to write a log file with all output from collector. Executing commands will now log be logged (and when debug is enabled, their output's are also logged).
|
2020-09-20 17:37:43 -06:00 |
|
Jason Kulatunga
|
23d5b86b1b
|
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 |
|