KF5JWC
41c9daa939
Make run_collect.sh executable
...
Synology task will fail when not executable:
```
/bin/bash: /volume1/@Entware/scrutiny/bin/run_collect.sh: Permission denied
```
2022-08-01 15:07:28 -05:00
Jason Kulatunga
83186ba36e
Merge pull request #345 from KF5JWC/patch-2
2022-07-31 11:00:15 -07:00
KF5JWC
3205e3d022
Update INSTALL_SYNOLOGY_COLLECTOR.md
...
Typo: Created and loaded config into `conf/`, but specifies `config/` in argument
2022-07-31 00:07:04 -05:00
Jason Kulatunga
3f272b36d4
adding setting to allow users to customize between binary vs SI/Metric units in UI.
...
fixes #330
2022-07-30 08:50:23 -07:00
Jason Kulatunga
b238579fe6
Merge pull request #343 from AnalogJ/app_db_settings
...
adding tests. Make sure that device status depends on the configured threshold
2022-07-30 08:05:19 -07:00
Jason Kulatunga
ce2f990eb1
consolidate device status to string logic in DeviceStatusPipe.
...
Ensure device status takes into account new settings.
2022-07-29 07:11:57 -07:00
Jason Kulatunga
b11b8732aa
Merge pull request #342 from MattKobayashi/docs_udev
2022-07-29 06:43:49 -07:00
Matthew Kobayashi
5cd441da7b
Add udev troubleshooting doc
2022-07-29 09:33:55 +10:00
Jason Kulatunga
2e768fb491
adding tests. Make sure that device status depends on the configured threshold.
2022-07-25 07:46:44 -07:00
Jason Kulatunga
e8755ff617
Merge pull request #338 from AnalogJ/app_db_settings
2022-07-23 16:37:16 -07:00
Jason Kulatunga
e41ee47371
filter attributes after notify
2022-07-23 16:21:53 -07:00
Jason Kulatunga
7a68a68e76
frontend, determine the device status by checking against the configured thresholds.
2022-07-23 16:11:49 -07:00
Jason Kulatunga
94594db20a
on settings save, return the new settings.
...
update the frontend to persist settings to the database.
Using ScrutinyConfigService instead of TreoConfigService.
Using snake case settings in frontend.
Make sure we're using AppConfig type where possible.
2022-07-23 14:36:32 -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
c0f1dfdb0b
fixing config mock.
2022-07-20 22:38:30 -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
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.
2022-07-17 10:32:28 -07:00
Jason Kulatunga
dd0c3e6fba
rename the migration model package name.
2022-07-16 22:07:50 -07:00
Jason Kulatunga
5b2746f389
initial settings table.
2022-07-16 21:50:48 -07:00
Jason Kulatunga
e9c1de9664
update support table in README.
...
- freebsd binaries for collector and web working
- macos binaries for arm and amd.
2022-07-16 10:12:30 -07:00
Jason Kulatunga
6ca4bd4912
fix the WORKDIR for collector image.
...
fixes #335
2022-07-13 21:56:58 -07:00
packagrio-bot
c34ee85e48
(v0.4.16) Automated packaging of release by Packagr
v0.4.16
2022-07-12 16:02:04 +00:00
Jason Kulatunga
91e8eb1def
Merge pull request #333 from AnalogJ/beta
2022-07-12 08:58:39 -07:00
Jason Kulatunga
a01b8fe083
manually bump version.
2022-07-12 08:58:18 -07:00
Jason Kulatunga
550fb542d4
Merge pull request #328 from AnalogJ/beta
...
pre v0.4.16
2022-07-12 08:57:42 -07:00
Jason Kulatunga
7841063783
remove solaris.
2022-07-11 20:54:07 -07:00
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
2022-07-11 20:52:15 -07:00
Jason Kulatunga
64e1c93d16
add a solaris collector detect engine.
2022-07-11 20:48:30 -07:00
Jason Kulatunga
b227054b52
error if any step fails.
2022-07-11 20:47:32 -07:00
Jason Kulatunga
66bd6f99c5
compiling solaris binaries
...
related #120
2022-07-11 20:38:54 -07:00
Jason Kulatunga
c6579864b8
added instructions for how to create a Scope restricted InfluxDB API token for use with Scrutiny.
...
- fixes #249
2022-07-10 11:31:33 -07:00
Jason Kulatunga
2361c329e2
added USB instructions to trouble shooting guide.
...
fixes #266
added solaris to supported os list.
2022-07-10 09:01:35 -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
30bd18f816
updating docs.
2022-07-09 17:00:51 -07:00
Jason Kulatunga
0f0efac866
fix update, using raw flux script.
2022-07-09 10:42:30 -07:00
Jason Kulatunga
04563c0d0d
ensure we have the ability to keep influxdb tasks up-to-date.
2022-07-09 10:05:48 -07:00
Jason Kulatunga
9316eccabe
adding tests for tasks and aggregation queries (temp).
2022-07-09 08:48:36 -07:00
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.
2022-07-08 22:21:06 -07:00
Jason Kulatunga
0e2fec4e93
adding tests to frontend.
2022-07-08 22:19:43 -07:00
Jason Kulatunga
ff171282cc
Merge pull request #325 from AnalogJ/beta
...
make sure that make is installed when building binary frontend.
2022-07-07 08:56:28 -07:00
Jason Kulatunga
ea8fe208d0
make sure that make is installed when building binary frontend.
2022-07-06 22:50:20 -07:00
Jason Kulatunga
9ae9c387cc
Merge pull request #315 from AnalogJ/beta
2022-07-06 22:20:07 -07:00
Jason Kulatunga
772b4f6528
fix influxdb install.
2022-07-06 21:39:33 -07:00
Jason Kulatunga
4a16ca0d5a
wip, migrate all scripts to new build pattern (Makefile + multiple GH agents).
2022-07-06 21:39:33 -07:00
Jason Kulatunga
316ce856f7
cleanup, remove -race flag when testing (requires CGO)
2022-07-06 21:39:33 -07:00
Jason Kulatunga
6e0321f488
add go.sum
2022-07-06 21:39:33 -07:00
Jason Kulatunga
338d2ae04e
remove invalid freebsd arch.
...
remove invalid freebsd arch.
2022-07-06 21:39:28 -07:00
Jason Kulatunga
4419f7f429
remove zig. remove cgo dependency for sqlite (using pkg.go.dev/modernc.org/sqlite)
2022-07-06 21:39:28 -07:00
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.
2022-07-06 21:39:22 -07:00