Jason Kulatunga
7742f4c6c3
fixing windows binary build during CI. Update config missing error message.
2020-09-29 16:16:15 -06:00
Jason Kulatunga
e44864e64b
fixes.
2020-09-23 11:01:53 -06:00
Jason Kulatunga
8a336bf5c6
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
Jason Kulatunga
2fee2bf906
fix tests.
2020-09-21 21:22:07 -06:00
Jason Kulatunga
8b139ad157
remove concurrency for collector, it causes issues on systems with lots of devices. Just retrieve the data in order for now (eventually we may do it in batches).
2020-09-21 08:44:50 -06: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
24262f7c8c
pass deviceType when running smartctl data collection (for megaraid type disks).
...
Make DevicePrefix a public function available outside the detect module.
if device type is detected as "ata" or "scsi", dont pass in via -d parameter, can cause issues with missing data.
2020-09-20 17:37:43 -06:00
Jason Kulatunga
3deca46851
fix.
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