Commit Graph

25 Commits (8fb58591a6e34094eae26e32949f7d0ab7177c82)

Author SHA1 Message Date
Jason Kulatunga ce032c5609 fixes for Scrutiny end-to-end testing.
3 years ago
Jason Kulatunga 5789c836db make sure the status is always exposed in the json data. make sure display_name for metadata is included. Update mocked test data for frontend.
3 years ago
Jason Kulatunga deba21fe19 update timestamps for testing.
3 years ago
Jason Kulatunga 31b5dfa038 ensure that all buckets are created during init. Remove all references to "name" field for attributes (shoudl come from metadata instead). Status is now an int64 (0 is passing).
3 years ago
Jason Kulatunga 9878985fa3 adding aggregation code
3 years ago
Jason Kulatunga bd19230cbf make sure data is persisted to DB.
3 years ago
Jason Kulatunga 80f4660130 validate thresholds whenever SMART data is recieved.
3 years ago
Jason Kulatunga 8a46931399 !!!!WIP!!!!
3 years ago
Jason Kulatunga 9fac3c6308 fix gorm dependency.
4 years ago
Jason Kulatunga b44ef5cb9c adding support for a collecto config file.
4 years ago
Jason Kulatunga 1246f5bba9 started working on notifications.
4 years ago
Jason Kulatunga ad3f8480d9 added some anonymized nvme test data to ensure that NVMe drives are correctly processed by new device detection. thanks @Roxedus.
4 years ago
Jason Kulatunga 66122778a3 only the firmware can really change between scans. Lets slim down the metadata update.
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 5101a37964 adding device protocl and type to the. Adding class for parsing `smartctl --scan` json output, for device detection. added an example/test file for `smartctl -x -j` added a placeholder settings panel. moved dashboard & details compoonent out of "Admin" directory.
4 years ago
Jason Kulatunga 86fc10b7b9 added ideal and thresholds for NVMe and SCSI drives.
4 years ago
Jason Kulatunga 5dd3aed1fe adding threshold for percentage Used.
4 years ago
Jason Kulatunga e283d43654 rename metadata class names.
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 92d54df022 adding test files.
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 a78e4eb001 fix failing test.
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