Commit Graph

50 Commits (1e74e96658f5e39c5e4efbee0a74e5d6d3be98e3)

Author SHA1 Message Date
Jason Kulatunga 3ea223fa8e
Merge pull request #547 from kaysond/master
9 months ago
Aram Akhavan 98d958888c refactor common code
10 months ago
Aram Akhavan 6417d71311 Add a setting for repeating notifications or not
10 months ago
Aram Akhavan 3285eb659f Fix some development issues
10 months ago
Thomas Way db86bac9ef
fix(collector): show correct nvme capacity
10 months ago
adripo 536b590080 feat: dynamic line stroke settings
2 years ago
Jason Kulatunga 3f272b36d4 adding setting to allow users to customize between binary vs SI/Metric units in UI.
2 years ago
Jason Kulatunga 7e672e8b8e adding tests for config.MergeConfigMap functionality. (Set vs SetDefault).
2 years ago
Jason Kulatunga 54e2cacb00 move frontend settings into the DB (for consistent settings handling).
2 years ago
Jason Kulatunga 29bc79996b working settings update.
2 years ago
Jason Kulatunga 99af2b8b16 WIP settings system.
2 years ago
Jason Kulatunga 5b2746f389 initial settings table.
2 years ago
Jason Kulatunga df23ecdf33 fix typing for attribute status enum stored in database.
2 years ago
Jason Kulatunga 488fcfc820 added AttributeStatus bit flag
2 years ago
Jason Kulatunga 3a970e7a27
Merge pull request #262 from AnalogJ/beta
3 years ago
Jason Kulatunga 46d0b70399 disable NVMe Scrutiny failures for "Numb Error Log Entries" attribute. More analysis needed for NVMe drives & their critical attributes.
3 years ago
Jason Kulatunga 999c12748c added a way to retrieve raw udev data. Can be used to retrieve disk label, UUID and "disk/by-id/*" device info.
3 years ago
Jason Kulatunga e7801619cd added additional tests from #187.
3 years ago
Jason Kulatunga 5ed69d7fc4 adding tests for Smart and parser.
3 years ago
Jason Kulatunga 1ced2198c7 cleanup log messages.
3 years ago
Jason Kulatunga 8fe0dbed6b partially working. Some datapoints are failing with panic and are silently ignored.
3 years ago
Jason Kulatunga f569ab6474 [BROKEN COMMIT]
3 years ago
Jason Kulatunga 0872da57d7 fixes for tests.
3 years ago
Jason Kulatunga 772063a843 find the temp history for the last week (by default). Smooth out data using aggregate window for hourly numbers. Better temp casting during influx data inflating.
3 years ago
Jason Kulatunga b776fb8886 tweaking retention policy code so we can test downsampling scripts.
3 years ago
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