Jason Kulatunga
f3fad47d9e
cleanup example config files. added instructions for influxdb.
2022-05-12 10:33:54 -07:00
Jason Kulatunga
381a6799cc
updates for v0.4.0 release. Slight refactor/organization.
2022-05-09 14:50:35 -07:00
Jason Kulatunga
54178eaaf0
Merge branch 'master' into BASEPATH
2022-05-09 14:29:48 -07:00
Jason Kulatunga
de702414b9
moving all filesystem references to /scrutiny to /opt/scrutiny
...
fixes #230
2022-05-09 09:29:39 -07:00
Jason Kulatunga
b776fb8886
tweaking retention policy code so we can test downsampling scripts.
2021-11-16 18:32:29 -08: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
Andrea Spacca
8ac3ab79a4
cr fixes
2021-05-30 10:14:48 +02:00
Andrea Spacca
234a8f9b01
cr fixes
2021-05-30 10:14:48 +02: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
Jason Kulatunga
6ca4ce39de
Adding documenation for notifications.
2020-10-03 09:53:06 -06:00
Jason Kulatunga
6377a258f6
sending notifications on failure.
2020-10-01 18:59:08 -06:00
Jason Kulatunga
531fea76b2
keep example config file in sync with config defaults. fixes #3
...
Adding an example config file for local development to CONTRIBUTING.md.
2020-09-22 18:18:57 -06:00
Jason Kulatunga
a57120d600
adding new environmental variables for added debugging: COLLECTOR_LOG_FILE, COLLECTOR_DEBUG, DEBUG, SCRUTINY_LOG_FILE, SCRUTINY_DEBUG
2020-09-21 18:41:52 -06:00
Jason Kulatunga
5101a37964
adding device protocl and type to the. Adding class for parsing smartctl --scan json output, for device detection. added an example/test file for smartctl -x -j added a placeholder settings panel. moved dashboard & details compoonent out of "Admin" directory.
2020-09-18 10:14:19 -06:00
Jason Kulatunga
98415e625d
fix import. added simle test for notify test endpoint.
2020-09-18 10:14:19 -06:00
Jason Kulatunga
c913cf39b9
adding new nottification validation erorr. Added a notification class containing webhook, script and shoutrrr notification logic. Adding "Test notification endpoint".
2020-09-18 10:13:06 -06:00
Jason Kulatunga
6ec13e48b8
WIP - describing notification syntax.
2020-08-29 16:30:30 -07:00
Jason Kulatunga
8482272d45
init
2020-08-19 16:04:21 -07:00