Commit Graph

11 Commits (8b139ad15796cd9d537f7c687e96197feb8d5ff9)

Author SHA1 Message Date
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).
4 years ago
Jason Kulatunga fd82e9a4da print error message if publish does not finish successfully.
4 years ago
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).
4 years ago
Jason Kulatunga 24262f7c8c pass deviceType when running smartctl data collection (for megaraid type disks).
4 years ago
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?
4 years ago
Jason Kulatunga 2ad120c87b added debug logging message for detected devices.
4 years ago
Jason Kulatunga 5a80ae3e74 WIP - start supporting NVME and SCSI drive smart data.
4 years ago
Jason Kulatunga f7b2a7b41b make sure results from failing smartctl execution is still sent to API.
4 years ago
Jason Kulatunga d636709aa1 Moved version file into webapp source tree. Replacing fmt with logger calls. moved Jobber config file into /scrutiny/jobber directory. Added scsi json file. Moved API rooute handlers into their own files in a module. Added not yet implemnented tooltips.
4 years ago
Jason Kulatunga 40f5cbef6c moved hard drive device detection to collector (So we can run multiple in parallel).
4 years ago
Jason Kulatunga 8482272d45 init
4 years ago