mcarbonne
bdbe13e320
Add option to discard SCT Data Table Temperature History ( #557 )
...
Fixes #494
2026-02-05 20:59:24 -08:00
Aram Akhavan
01c5a7fdfe
Address review comments
2024-02-04 11:38:51 -08:00
Aram Akhavan
4e5c76b259
Add support for disabling repeat notifications
...
* Add a new database function for getting the tail
* Update ShouldNotify() to handle ignoring repeat notifications if set
2024-02-04 11:38:51 -08:00
Jason Kulatunga
f823127825
simplify logger creation (move logic into a function in main packages)
...
Ensure logger creation is consistent between Web and Collector
Create logger in main, pass down to downstream functions (like gin)
In debug mode, print a copy of AppConfig
Better debugging for logger.
2022-08-03 22:51:44 -07:00
Jason Kulatunga
7e672e8b8e
adding tests for config.MergeConfigMap functionality. (Set vs SetDefault).
...
Converted all settings keys to snakecase.
2022-07-23 10:19:15 -07:00
Jason Kulatunga
54e2cacb00
move frontend settings into the DB (for consistent settings handling).
...
Flattened settings object.
2022-07-23 09:32:56 -07:00
Jason Kulatunga
29bc79996b
working settings update.
...
Settings are loaded from the DB and added to the AppConfig during startup.
When updating settings, they are stored in AppConfig, and written do the database.
2022-07-19 23:12:23 -07:00
Jason Kulatunga
5ea149d878
upgrading to go 1.18 for generics (and lodash-like library).
...
devices with an empty wwn should be filtered out (not uploaded during device registration, skipped when attempting to upload metrics).
added a migration to delete existing device entries with an empty `wwn`
fixes #314
2022-07-09 18:28:49 -07:00
Jason Kulatunga
7babc280a0
ensure that users can filter their notifications by:
...
- failing attribute type (Critical vs All)
- failure reason (Smart, Scrutiny, Both)
fixes #300
2022-06-20 08:15:06 -07:00
Jason Kulatunga
fabc629e40
handle case where WWN not detected for a device (print error messages, but skip device collection & uploading).
2022-05-05 23:03:06 -07:00
Jason Kulatunga
80f4660130
validate thresholds whenever SMART data is recieved.
2021-07-25 22:11:07 -07:00
Jason Kulatunga
8a46931399
!!!!WIP!!!!
...
adding InfluxDB
- influxdb added to dockerfile
- influxdb s6 service
- influxdb config
- adding defaults to config
- creating a DeviceRepo interface (multiple db backends)
- implemented DeviceRepo interface as ScruitnyRepository
2021-06-27 10:55:18 -07:00
Jason Kulatunga
9fac3c6308
fix gorm dependency.
2020-10-07 22:07:51 -06:00
Jason Kulatunga
d339e967a6
fixing notifications.
2020-10-02 21:05:04 -06:00
Jason Kulatunga
6377a258f6
sending notifications on failure.
2020-10-01 18:59:08 -06:00
Jason Kulatunga
6a20228262
adding error handling for all DB calls. Returning StatusInternalServerError whenever an error occurs. Adding additional logging to server handlers.
...
Make sure we "return" after a c.JSON call.
2020-09-23 09:54:33 -06:00
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.
2020-08-21 18:06:00 -07:00