Jason Kulatunga
9e10f3bf50
using netgo
2020-10-08 18:56:28 -06:00
Jason Kulatunga
f410e60235
print ldd info as well.
2020-10-08 18:51:38 -06:00
Jason Kulatunga
1d35b14c9d
update collector tags.
2020-10-08 17:58:47 -06:00
Jason Kulatunga
aff9a0b258
static build attempt 2.
2020-10-08 17:54:24 -06:00
Jason Kulatunga
9ffc55ba13
fix
2020-10-08 17:48:44 -06:00
Jason Kulatunga
99ec2eb2dc
using CGO_ENABLED=0 again (-extldflags=-static didnt work for webapp).
2020-10-08 17:48:44 -06:00
Jason Kulatunga
7e78fb4e7d
test -extldflags=-static instead (CGO_ENABLED=0 works, but checking alternatives)
2020-10-08 17:48:44 -06:00
Jason Kulatunga
4bd3dd4311
testinig CGO_ENABLED=0
2020-10-08 17:48:44 -06:00
Jason Kulatunga
f27883ea4c
remove requestcatcher live test.
2020-10-08 17:48:44 -06:00
Jason Kulatunga
1e18086c4d
update, working on a true static binary.
2020-10-08 17:48:44 -06:00
Jason Kulatunga
b04f1b07e8
(0.3.0) Automated packaging of release by Packagr
...
Signed-off-by: Jason Kulatunga <jason@thesparktree.com >
0.3.0
2020-10-08 23:37:10 +00:00
Jason Kulatunga
8b5e95f1e1
Merge pull request #88 from AnalogJ/detect_config
2020-10-08 17:33:59 -06:00
Jason Kulatunga
22429800a7
Merge pull request #85 from PrplHaz4/patch-1
2020-10-08 08:50:54 -06:00
PrplHaz4
27e9d2f465
move under docker directory
2020-10-08 10:13:43 -04:00
Jason Kulatunga
9fac3c6308
fix gorm dependency.
2020-10-07 22:07:51 -06:00
Jason Kulatunga
1cd5ebaa43
missing device type update.
2020-10-07 21:59:48 -06:00
Jason Kulatunga
b44ef5cb9c
adding support for a collecto config file.
...
/scrutiny/config/collector.yaml
Adding ability to specify host identifier (label), that is updated on every collector run.
Can be specified by `host-id` CLI or `COLLECTOR_HOST_ID` env var.
Created a config class, interface and associated tests.
Created a "TransformDetectedDrives" function, that will allow users to insert drives not detected by Smarctl --scan, ignore drives that they dont want, and override smartctl device type.
Added Upsert functionality when registering devices.
Replaced "github.com/jinzhu/gorm" with "gorm.io/gorm" (ORM location moved, was using incorrect lib url)
Removed machineid library.
2020-10-07 21:54:29 -06:00
PrplHaz4
9dfc57432b
Add a basic docker-compose.yml
...
The only difference between this and the `docker run` from the main page is I've added a persistent volume for the database.
related #6 , #83
2020-10-06 13:14:27 -04:00
Jason Kulatunga
32e7044c67
Merge pull request #75 from AnalogJ/notificationss
2020-10-05 19:48:32 -06:00
Jason Kulatunga
ac7c1f28cf
ignore empty ("") errors.
2020-10-05 08:56:43 -06:00
Jason Kulatunga
c8a4be6b07
fix x509: certificate signed by unknown authority error for notifications.
2020-10-04 14:30:05 -06:00
Jason Kulatunga
80a382d098
slight tweaks to notifications error handling.
2020-10-04 13:55:59 -06:00
Jason Kulatunga
81b05515d3
fix missing smartctl binary when running collector via cron (empty PATH).
...
fixes #76
2020-10-03 22:58:53 -06:00
Jason Kulatunga
1c7ca35ea7
build freebsd binaries for CI (not included in releases yet)
2020-10-03 14:38:19 -06:00
Jason Kulatunga
a3438297e6
removeedd waitgroup, using sync/errgroup instead (to pass error messages back). returning errors in test notifications endpoint payload. Adding failure tests for webhooks, scripts & shoutrr.
2020-10-03 10:40:27 -06:00
Jason Kulatunga
732eb039da
added custom script notification type.
2020-10-03 10:05:44 -06:00
Jason Kulatunga
2d903453d5
updated Debug mode documenation.
2020-10-03 10:01:40 -06:00
Jason Kulatunga
6ca4ce39de
Adding documenation for notifications.
2020-10-03 09:53:06 -06:00
Jason Kulatunga
4a12caf043
arm32 builds.
2020-10-02 22:15:35 -06:00
Jason Kulatunga
46d04734b6
arm32 builds.
2020-10-02 22:14:52 -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
be378bd147
if attribute Id is unknown (and does not match anything in metadata) the frontend breaks. Added more robust frontend display code to handle this case.
...
fixes #53
2020-09-30 09:10:42 -06:00
Jason Kulatunga
1246f5bba9
started working on notifications.
2020-09-30 08:50:10 -06:00
Jason Kulatunga
adbbcb285a
fixes - multiple builds. remove docker build caching.
2020-09-29 17:19:52 -06:00
Jason Kulatunga
f0c3fddf26
fixes - multiple builds.
2020-09-29 17:12:38 -06:00
Jason Kulatunga
9816c750b4
multiple builds.
2020-09-29 17:08:10 -06:00
Jason Kulatunga
cd6c59599f
fixes -- guess and check development. :(
2020-09-29 17:01:20 -06:00
Jason Kulatunga
94559d265c
fixes for ARM build
2020-09-29 16:58:04 -06:00
Jason Kulatunga
95e5a5e768
remove windows build.
2020-09-29 16:25:48 -06:00
Jason Kulatunga
7742f4c6c3
fixing windows binary build during CI. Update config missing error message.
2020-09-29 16:16:15 -06:00
Jason Kulatunga
6473ec1a28
Adding automatic builds to CI for arm64 + windows - eventual support. Call out the fact that NVMe drives require --cap-add SYS_ADMIN in addition to SYS_RAWIO.
2020-09-29 16:05:05 -06:00
Jason Kulatunga
c7c1e37170
updating docs. use /opt/ not /etc/. Describe RAID instructions.
2020-09-29 10:12:40 -06:00
Jason Kulatunga
7de7935790
manual install instructions.
2020-09-28 22:29:57 -06:00
Jason Kulatunga
7988381433
(0.2.4) Automated packaging of release by Packagr
...
Signed-off-by: Jason Kulatunga <jason@thesparktree.com >
0.2.4
2020-09-29 03:00:30 +00:00
Jason Kulatunga
013eccdd58
fixing frontend code release, again.
2020-09-28 20:57:21 -06:00
Jason Kulatunga
a80794590a
(0.2.3) Automated packaging of release by Packagr
...
Signed-off-by: Jason Kulatunga <jason@thesparktree.com >
0.2.3
2020-09-29 02:53:45 +00:00
Jason Kulatunga
f56200452a
fixing frontend code release.
2020-09-28 20:50:23 -06:00
Jason Kulatunga
32682283da
(0.2.2) Automated packaging of release by Packagr
...
Signed-off-by: Jason Kulatunga <jason@thesparktree.com >
0.2.2
2020-09-29 02:42:44 +00:00
Jason Kulatunga
8775b02970
make sure the webfrontend is packaged and uploaded to each release for manual installation.
2020-09-28 20:33:13 -06:00