Jason Kulatunga
57dc547265
fixing github actions.
2024-09-20 11:24:56 -04:00
Jason Kulatunga and GitHub
e0fe17afbf
Merge pull request #686 from nicjohnson145/feat--device-allowlist
...
feat: create allow-list for filtering down devices to only a subset
2024-09-20 11:22:43 -04:00
Jason Kulatunga and GitHub
48feee51d0
Merge pull request #672 from Hudater/master
...
Updated containrrr/shoutrrr from v0.7.1 to v0.8.0
2024-09-08 10:27:22 +09:00
Jason Kulatunga and GitHub
49108bd1ef
Merge pull request #634 from bauzer714/addDeviceHoursSetting
...
Create a setting for user to indicate humanized or hours on dashboard/device detail
2024-07-25 13:33:57 -07:00
Jason Kulatunga and GitHub
0dafb65c5f
Merge branch 'master' into addDeviceHoursSetting
2024-07-25 13:29:29 -07:00
Jason Kulatunga and GitHub
8b7ddd3042
Merge pull request #644 from luomie/patch-1
...
fix example Shoutrrr discord notification url structure
2024-07-18 20:14:31 -07:00
Jason Kulatunga and GitHub
db57281557
Merge pull request #666 from phcreery/patch-1
...
Update INSTALL_HUB_SPOKE.md
2024-07-17 18:48:37 -07:00
Jason Kulatunga
67c0af9f59
fix amd64 s6_arch.
2024-04-05 14:11:11 -07:00
Jason Kulatunga and GitHub
55565e509d
Merge pull request #625 from AnalogJ/cron_fixes
...
fixing cron in #602
2024-04-05 14:04:39 -07:00
Jason Kulatunga
f74d9c108a
fixing cron in #602
...
Updated s6overlay to v3
Note: xz-utils was added as a requirement for s6-overlay (using safe 5.4.1 instead of compromised 5.6.x versions)
2024-04-05 10:01:04 -07:00
Jason Kulatunga and GitHub
3490a2ffc2
Merge pull request #597 from joserebelo/sigterm
...
Use exec on scrutiny-collector cron to ensure signal handling
2024-03-12 21:08:16 -07:00
Jason Kulatunga and GitHub
a0f9e6e3f3
Merge pull request #596 from dropsignal/master
...
rebase docker image to debian 12 (bookworm)
2024-03-12 20:53:35 -07:00
Jason Kulatunga and GitHub
3ea223fa8e
Merge pull request #547 from kaysond/master
...
Add support for disabling repeat notifications if the values haven't changed
2024-02-24 15:10:29 -08:00
Jason Kulatunga and GitHub
44275c66ca
Merge pull request #569 from uhthomas/466
...
fix(collector): show correct nvme capacity
2024-02-24 09:32:59 -08:00
Jason Kulatunga and GitHub
19bd59dc27
Merge pull request #577 from DrFrankensteinUK/patch-1
...
Update SUPPORTED_NAS_OS.md
2024-02-24 09:20:23 -08:00
Jason Kulatunga and Aram Akhavan
2aa242e364
update mockgen instructions
2024-02-04 11:38:52 -08:00
Jason Kulatunga and Aram Akhavan
1c193aa043
add database interface mock
2024-02-04 11:38:52 -08:00
Jason Kulatunga and GitHub
a3dfce3561
Update INSTALL_HUB_SPOKE.md
...
fixes https://github.com/AnalogJ/scrutiny/issues/495
2024-01-23 12:57:22 -08:00
Jason Kulatunga and GitHub
240178d742
Merge pull request #529 from KaeTuuN/patch-1
...
Update README.md Links to compose files
2024-01-23 12:19:39 -08:00
Jason Kulatunga and GitHub
2dcb6cd6b6
Merge pull request #566 from PrplHaz4/patch-3
...
Add COLLECTOR_HOST_ID env var to hubspoke example
2024-01-23 12:16:27 -08:00
Jason Kulatunga and GitHub
d54a0abc8c
Merge pull request #559 from ibizaman/patch-1
...
Fix typo in readme
2023-12-26 14:50:02 -07:00
Jason Kulatunga
5bbd4c3b64
update delete device message to clarify that no data will actually be effected, only scrutiny data.
...
fixes #544
2023-11-22 14:25:26 -08:00
Jason Kulatunga
fb6c3d6a24
document Shoutrrr special characters in username & password -
...
fixes #532
2023-11-18 08:50:47 -08:00
Jason Kulatunga and GitHub
5e87608587
Merge pull request #520 from kaysond/patch-1
2023-10-17 06:09:52 -07:00
Jason Kulatunga and GitHub
ab7fd107e7
Merge pull request #527 from kaysond/master
2023-10-17 06:08:58 -07:00
Jason Kulatunga and GitHub
4b1d9dc2d3
Merge pull request #519 from SlavikCA/patch-1
2023-09-27 10:17:26 -07:00
Jason Kulatunga and GitHub
2f01e8c8e0
Merge pull request #512 from kaysond/master
2023-09-06 12:51:50 -07:00
Jason Kulatunga and GitHub
d73907d357
Merge pull request #474 from AnalogJ/beta
2023-04-08 15:58:51 -07:00
Jason Kulatunga
0b50305f38
fix invalid COPY instruction.
2023-04-07 00:00:11 -07:00
Jason Kulatunga
ee3d719c3a
simplify docker image build
...
changes contributed by @modem7
fixes #461
2023-04-06 23:57:15 -07:00
Jason Kulatunga and GitHub
d76cdca4a5
Merge pull request #472 from adamantike/misc/add-support-for-yml-config-files
2023-04-06 17:46:03 -07:00
Jason Kulatunga and GitHub
b34ed607b7
Merge pull request #471 from adamantike/feat/add-support-for-ntfy-notifications
2023-04-06 17:42:50 -07:00
Jason Kulatunga and GitHub
8c3afc31f4
Merge pull request #449 from adamantike/fix/delete-influxdb-deb-from-docker-image
2023-04-05 23:25:52 -07:00
Jason Kulatunga and GitHub
4192ac719e
Merge pull request #470 from AnalogJ/beta
2023-04-05 22:07:13 -07:00
Jason Kulatunga and GitHub
539c94595f
Merge pull request #469 from AnalogJ/angular-v13-upgrade
2023-04-05 21:09:35 -07:00
Jason Kulatunga
de21e611a3
fixing migration for line_stroke setting.
2023-04-05 21:06:09 -07:00
Jason Kulatunga and GitHub
dea362361e
Merge pull request #468 from AnalogJ/angular-v13-upgrade
2023-04-05 20:58:56 -07:00
Jason Kulatunga
7b77519f49
trying to fix tests.
2023-04-05 20:48:07 -07:00
Jason Kulatunga
94df7e1ec3
trying to fix tests.
2023-04-05 20:44:07 -07:00
Jason Kulatunga
babd8d3089
trying to fix tests.
2023-04-05 20:35:18 -07:00
Jason Kulatunga
52ef28f091
removing NODE_OPTIONS.
2023-04-05 20:34:29 -07:00
Jason Kulatunga
80d72f8a1b
regenerate package-lock with angular 13-lts packages.
2023-04-05 20:10:53 -07:00
Jason Kulatunga
2e8f4a0581
update with instructions for adding host id to UI.
...
- fixes #464
- related #151
2023-04-05 19:50:09 -07:00
Jason Kulatunga and GitHub
8c65166a90
Merge pull request #446 from adamantike/misc/upgrade-go-1.20
2023-04-05 19:48:31 -07:00
Jason Kulatunga and GitHub
733b49c2c4
Merge branch 'master' into misc/upgrade-go-1.20
2023-04-05 07:53:01 -07:00
Jason Kulatunga
711b5c40b1
update with instructions for adding host id to UI.
...
- fixes #464
- related #151
2023-04-04 21:53:39 -07:00
Jason Kulatunga and GitHub
f94e616d8d
Merge branch 'master' into angular-refactoring
2023-04-04 21:38:57 -07:00
Jason Kulatunga and GitHub
e4bbe8c035
Merge pull request #441 from padhi-forks/master
...
Fixes https://github.com/AnalogJ/scrutiny/issues/440
2023-02-08 21:43:45 -08:00
Jason Kulatunga and GitHub
19a0b8c2ac
Update TROUBLESHOOTING_INFLUXDB.md
...
change volume mounts when upgrading from LSIO image
2023-02-04 08:41:47 -08:00
Jason Kulatunga
97f73703b1
update docs with instructions for customizing Influxdb creds.
2023-01-19 22:21:48 -08:00
Jason Kulatunga
4fcd11f497
update coverage makefile with workaround.
2023-01-11 21:31:25 -08:00
Jason Kulatunga
7f1023fa9b
temporary fix for #426
...
using legacy open ssl provider for fixing `"error:0308010C:digital envelope routines::unsupported"` error.
See https://stackoverflow.com/questions/69692842/error-message-error0308010cdigital-envelope-routinesunsupported
We need to upgrade Angular version.
2023-01-11 21:30:16 -08:00
Jason Kulatunga
d49497da80
update hub/spoke guide - thanks @TinJoy59
...
fixes #417
2023-01-11 18:03:49 -08:00
Jason Kulatunga
d8c359bd8a
instructions documenting added ability to trigger collector at startup.
...
Disabled by default, (enable by setting `-e COLLECTOR_RUN_STARTUP=true`)
Added COLLECTOR_RUN_STARTUP_SLEEP env variable to specify seconds before calling scrutiny collector on first run, default sleep value = 1s.
2023-01-11 17:49:58 -08:00
Jason Kulatunga
ad4b117f6e
fixes #412
...
Added ability to trigger collector at startup.
Disabled by default, (enable by setting `-e COLLECTOR_RUN_STARTUP=true`)
Added COLLECTOR_RUN_STARTUP_SLEEP env variable to specify seconds before calling scrutiny collector on first run, default sleep value = 1s.
2023-01-11 17:41:09 -08:00
Jason Kulatunga
22d2f9847c
fixes #418
...
when using device type `sat,auto`, scrutiny config parser will treat `type: 'sat,auto'` as a list, which will cause it to be treated like a raid disk. force single command execution using `type: ['sat,auto']`
2023-01-11 17:24:01 -08:00
Jason Kulatunga and GitHub
602fdce0ee
Merge pull request #425 from AnalogJ/update_shoutrrr
2023-01-11 16:37:01 -08:00
Jason Kulatunga
61fde6a2ca
update shoutrrr version.
...
fixes #355
2023-01-11 16:17:25 -08:00
Jason Kulatunga
d843bcc258
fix nightly build.
2022-12-02 07:13:52 -08:00
Jason Kulatunga
f2856e0f26
adding a healthcheck endpoint that confirms communication with influxdb and sqlite.
...
ref: #381
2022-11-30 08:25:27 -08:00
Jason Kulatunga
58ef1aa311
update readme.
2022-11-30 07:56:01 -08:00
Jason Kulatunga
6a6570b8e3
trying to fix nodejs build of frontend.
2022-11-29 22:45:40 -08:00
Jason Kulatunga
29a0860caa
trying to fix nodejs build of frontend.
2022-11-29 22:24:16 -08:00
Jason Kulatunga
fb760a9f6d
make sure we print an error if the config file is invalid.
...
fixes #408
2022-11-29 22:06:42 -08:00
Jason Kulatunga
c9f13f4398
update README to correctly call-out the influxdb requirement in hub-spoke deployments.
...
references #409
2022-11-29 21:07:51 -08:00
Jason Kulatunga
dd03a8cf63
Revert "trying to fix build"
...
This reverts commit 0a6ade4da9 .
2022-11-28 08:16:45 -08:00
Jason Kulatunga
0a6ade4da9
trying to fix build
2022-11-28 08:13:19 -08:00
Jason Kulatunga and GitHub
5c8c11d78b
Merge pull request #407 from StratusFearMe21/patch-1
2022-11-28 07:47:01 -08:00
Jason Kulatunga and GitHub
00502cc565
Merge pull request #406 from boomam/patch-1
2022-11-28 07:46:35 -08:00
Jason Kulatunga and GitHub
075eb94fa2
Merge pull request #394 from AnalogJ/skip_null_temp
2022-11-15 09:07:13 -08:00
Jason Kulatunga and GitHub
098ce0673a
Update TROUBLESHOOTING_DEVICE_COLLECTOR.md
2022-11-08 20:21:21 -08:00
Jason Kulatunga
2677796322
fixing bug. Null value for temperatures should be ignored.
2022-11-06 07:54:32 -08:00
Jason Kulatunga and GitHub
5cc7fb30ed
Merge pull request #391 from adripo/patch-1
2022-11-06 07:46:39 -08:00
Jason Kulatunga and GitHub
727d5b0ace
Update SUPPORTED_NAS_OS.md
2022-10-12 21:26:04 -07:00
Jason Kulatunga
d7b45e5f01
update docs.
2022-10-12 20:58:41 -07:00
Jason Kulatunga and GitHub
578a262d90
Merge pull request #372 from Robert-Zacchigna/master
2022-09-22 22:13:31 -07:00
Jason Kulatunga and GitHub
d8d56f77f9
Merge pull request #352 from AnalogJ/beta
2022-08-04 08:07:56 -07:00
Jason Kulatunga
26b221532e
fix tests.
2022-08-04 07:56:43 -07:00
Jason Kulatunga
15d3206f6f
remove settings dialog from Details page.
2022-08-04 07:30:14 -07:00
Jason Kulatunga
59e2e928a8
remove the notify.level and notify.filter_attributes values from the example.scrutiny.yaml, since they are no longer allowed.
2022-08-03 23:12:09 -07:00
Jason Kulatunga
51f59e4fcd
docs, added an explanation for why influxdb is required.
2022-08-03 22:59:19 -07: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
d41d535ab7
make sure that the device host id is provided in notifications (if available).
...
fixes #337
2022-08-03 20:55:34 -07:00
Jason Kulatunga
9a4a8de341
make sure the settings dialog width is 600px for readability.
2022-08-03 18:38:59 -07:00
Jason Kulatunga
2d6f60abaa
attrHistory needs to be reversed, so the newest data is on the right
...
fixes #339
2022-08-03 18:23:58 -07:00
Jason Kulatunga and GitHub
d201f798fb
Merge pull request #351 from AnalogJ/app_db_settings
2022-08-02 22:15:52 -07:00
Jason Kulatunga
a1b0108503
Added PRAGMA settings support when connecting to SQLITE db.
...
When a transaction cannot lock the database, because it is already locked by another one,
SQLite by default throws an error: database is locked. This behavior is usually not appropriate when
concurrent access is needed, typically when multiple processes write to the same database.
PRAGMA busy_timeout lets you set a timeout or a handler for these events. When setting a timeout,
SQLite will try the transaction multiple times within this timeout.
https://rsqlite.r-dbi.org/reference/sqlitesetbusyhandler
retrying for 30000 milliseconds, 30seconds - this would be unreasonable for a distributed multi-tenant application,
but should be fine for local usage.
added mechanism for global settings (PRAGMA and DB level instructions).
fixes #341
2022-08-02 22:14:23 -07:00
Jason Kulatunga and GitHub
f0275d2349
Merge pull request #346 from KF5JWC/patch-3
2022-08-02 20:42:53 -07:00
Jason Kulatunga and GitHub
9dafde8a43
Merge pull request #350 from MattKobayashi/docs_udev
2022-08-02 20:29:25 -07:00
Jason Kulatunga and GitHub
83186ba36e
Merge pull request #345 from KF5JWC/patch-2
2022-07-31 11:00:15 -07: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 and GitHub
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 and GitHub
b11b8732aa
Merge pull request #342 from MattKobayashi/docs_udev
2022-07-29 06:43:49 -07: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 and GitHub
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