Commit Graph

12 Commits (a58f9445c13c314829dbe162cbb29c58dba2bbbc)

Author SHA1 Message Date
Nic Johnson c9429c61b2 feat: create allow-list for filtering down devices to only a subset
7 months ago
Thomas Way db86bac9ef
fix(collector): show correct nvme capacity
1 year ago
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.
3 years ago
Jason Kulatunga 157c93b967 provide a mechanism to specify the absolute path to the smartctl binary used by metrics collector.
3 years ago
Jason Kulatunga a53397210c adding mechanism to override the smartctl commands used by scrutiny for device scanning, device identification and smart data retrieval.
3 years ago
Jason Kulatunga 21d07a0712 adding tests for Detect struct in collector. Adding ability to mock out exec.Command calls.
3 years ago
Jason Kulatunga fabc629e40 handle case where WWN not detected for a device (print error messages, but skip device collection & uploading).
3 years ago
Jason Kulatunga b44ef5cb9c adding support for a collecto config file.
5 years ago
Jason Kulatunga 8a336bf5c6 wwn should always be lowercase for consistency. It's used in the URL for pushing smart data.
5 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).
5 years ago
Jason Kulatunga 24262f7c8c pass deviceType when running smartctl data collection (for megaraid type disks).
5 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?
5 years ago