Jason Kulatunga
7e672e8b8e
adding tests for config.MergeConfigMap functionality. (Set vs SetDefault).
...
Converted all settings keys to snakecase.
2 years ago
Jason Kulatunga
54e2cacb00
move frontend settings into the DB (for consistent settings handling).
...
Flattened settings object.
2 years ago
Jason Kulatunga
c0f1dfdb0b
fixing config mock.
2 years ago
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.
2 years ago
Jason Kulatunga
99af2b8b16
WIP settings system.
...
- updated dbdiagrams schema
- [BREAKING] force failure if `notify.filter_attributes` or `notify.level` is set
- added Settings table (and default values during migration)
- Added Save Settings and Get Settings functions.
- Added web API endpoints for getting and saving settings.
- Deprecated old Notify* constants. Created new MetricsStatus* and MetricsNotifyLevel constants.
2 years ago
Jason Kulatunga
dd0c3e6fba
rename the migration model package name.
2 years ago
Jason Kulatunga
5b2746f389
initial settings table.
2 years ago
Jason Kulatunga
e9c1de9664
update support table in README.
...
- freebsd binaries for collector and web working
- macos binaries for arm and amd.
2 years ago
Jason Kulatunga
6ca4bd4912
fix the WORKDIR for collector image.
...
fixes #335
2 years ago
packagrio-bot
c34ee85e48
(v0.4.16) Automated packaging of release by Packagr
2 years ago
Jason Kulatunga
91e8eb1def
Merge pull request #333 from AnalogJ/beta
2 years ago
Jason Kulatunga
a01b8fe083
manually bump version.
2 years ago
Jason Kulatunga
550fb542d4
Merge pull request #328 from AnalogJ/beta
...
pre v0.4.16
2 years ago
Jason Kulatunga
7841063783
remove solaris.
2 years ago
Jason Kulatunga
8e05b2e2f8
Revert "add a solaris collector detect engine."
...
This reverts commit 64e1c93d16
.
https://gitlab.com/cznic/sqlite does not support Solaris.
> build constraints exclude all Go files in /home/runner/work/scrutiny/scrutiny/vendor/modernc.org/libc/errno
related #120
2 years ago
Jason Kulatunga
64e1c93d16
add a solaris collector detect engine.
2 years ago
Jason Kulatunga
b227054b52
error if any step fails.
2 years ago
Jason Kulatunga
66bd6f99c5
compiling solaris binaries
...
related #120
2 years ago
Jason Kulatunga
c6579864b8
added instructions for how to create a Scope restricted InfluxDB API token for use with Scrutiny.
...
- fixes #249
2 years ago
Jason Kulatunga
2361c329e2
added USB instructions to trouble shooting guide.
...
fixes #266
added solaris to supported os list.
2 years ago
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
2 years ago
Jason Kulatunga
30bd18f816
updating docs.
2 years ago
Jason Kulatunga
0f0efac866
fix update, using raw flux script.
2 years ago
Jason Kulatunga
04563c0d0d
ensure we have the ability to keep influxdb tasks up-to-date.
2 years ago
Jason Kulatunga
9316eccabe
adding tests for tasks and aggregation queries (temp).
2 years ago
Jason Kulatunga
b71d6660a6
adding typescript interfaces for type hinting and testing
...
some code reformatting
adding tests for services and components.
cleanup of unused dependencies in components.
refactor dashboard service so that wrapper is removed before data is passed to component. (no more this.data.data...).
refactored components so that variable names are consistent (dashboardService vs smartService).
ensure argument and return types are specified everywhere.
adding tests for pipes.
adding ng test to ci steps.
change dir before running npm install.
trying to install nodejs in continer.
test frontend separately.
upload coverage for frontend and backend.
upload coverage for frontend and backend.
testing coverage file locations.
retry file upload.
2 years ago
Jason Kulatunga
0e2fec4e93
adding tests to frontend.
2 years ago
Jason Kulatunga
ff171282cc
Merge pull request #325 from AnalogJ/beta
...
make sure that make is installed when building binary frontend.
2 years ago
Jason Kulatunga
ea8fe208d0
make sure that make is installed when building binary frontend.
2 years ago
Jason Kulatunga
9ae9c387cc
Merge pull request #315 from AnalogJ/beta
2 years ago
Jason Kulatunga
772b4f6528
fix influxdb install.
2 years ago
Jason Kulatunga
4a16ca0d5a
wip, migrate all scripts to new build pattern (Makefile + multiple GH agents).
2 years ago
Jason Kulatunga
316ce856f7
cleanup, remove -race flag when testing (requires CGO)
2 years ago
Jason Kulatunga
6e0321f488
add go.sum
2 years ago
Jason Kulatunga
338d2ae04e
remove invalid freebsd arch.
...
remove invalid freebsd arch.
2 years ago
Jason Kulatunga
4419f7f429
remove zig. remove cgo dependency for sqlite (using pkg.go.dev/modernc.org/sqlite)
2 years ago
Jason Kulatunga
797a6b0429
make sure we dont depend on tests for building binaries.
...
empty commit.
fix checkout.
fix checkout.
fix zig.
fix zig.
fix zig.
fix zig.
fix zig.
fix zig.
fix zig.
fix zig.
fix zig.
fix zig.
2 years ago
Jason Kulatunga
d0b545dfb7
fixing make frontend in docker builds.
3 years ago
Jason Kulatunga
b0bff53bbd
start refactoring the Makefile to build artifacts in parallel (eventually using Zig for cross compilation).
3 years ago
Jason Kulatunga
b4adf3d88d
cleanup before go generate (and multi-arch builds using zig).
3 years ago
packagrio-bot
eefdc548b2
(v0.4.14) Automated packaging of release by Packagr
3 years ago
Jason Kulatunga
fb918e2d6e
Merge pull request #308 from AnalogJ/beta
...
pre v0.4.14 release
3 years 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.
...
fixes #255
3 years ago
Jason Kulatunga
fbe7d63a24
trying to fix tests.
3 years ago
Jason Kulatunga
d718b0898b
trying to fix tests.
3 years ago
Jason Kulatunga
44c7211b5f
temp artifacts for #304
3 years ago
Jason Kulatunga
157c93b967
provide a mechanism to specify the absolute path to the smartctl binary used by metrics collector.
...
- fixes #304
3 years ago
Jason Kulatunga
7babc280a0
ensure that users can filter their notifications by:
...
- failing attribute type (Critical vs All)
- failure reason (Smart, Scrutiny, Both)
fixes #300
3 years ago
Jason Kulatunga
e364e480e8
update Synology Guide.
3 years ago
Jason Kulatunga
bfefe7e98a
Merge pull request #303 from SiM22/patch-1
3 years ago