Jason Kulatunga
adbbcb285a
fixes - multiple builds. remove docker build caching.
4 years ago
Jason Kulatunga
f0c3fddf26
fixes - multiple builds.
4 years ago
Jason Kulatunga
9816c750b4
multiple builds.
4 years ago
Jason Kulatunga
cd6c59599f
fixes -- guess and check development. :(
4 years ago
Jason Kulatunga
94559d265c
fixes for ARM build
4 years ago
Jason Kulatunga
95e5a5e768
remove windows build.
4 years ago
Jason Kulatunga
7742f4c6c3
fixing windows binary build during CI. Update config missing error message.
4 years ago
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.
4 years ago
Jason Kulatunga
c7c1e37170
updating docs. use /opt/ not /etc/. Describe RAID instructions.
4 years ago
Jason Kulatunga
7de7935790
manual install instructions.
4 years ago
Jason Kulatunga
7988381433
(0.2.4) Automated packaging of release by Packagr
...
Signed-off-by: Jason Kulatunga <jason@thesparktree.com>
4 years ago
Jason Kulatunga
013eccdd58
fixing frontend code release, again.
4 years ago
Jason Kulatunga
a80794590a
(0.2.3) Automated packaging of release by Packagr
...
Signed-off-by: Jason Kulatunga <jason@thesparktree.com>
4 years ago
Jason Kulatunga
f56200452a
fixing frontend code release.
4 years ago
Jason Kulatunga
32682283da
(0.2.2) Automated packaging of release by Packagr
...
Signed-off-by: Jason Kulatunga <jason@thesparktree.com>
4 years ago
Jason Kulatunga
8775b02970
make sure the webfrontend is packaged and uploaded to each release for manual installation.
4 years ago
Jason Kulatunga
38ea7f7839
Merge pull request #51 from AnalogJ/x_flag
...
retrieve all device data. SAS devices do not return power on hours wh…
4 years ago
Jason Kulatunga
cb0aa9823e
retrieve all device data. SAS devices do not return power on hours when using `-a` flag (unlike other device types).
...
fixes #43
fixes #9
4 years ago
Jason Kulatunga
75a5f7dfb6
(0.2.1) Automated packaging of release by Packagr
...
Signed-off-by: Jason Kulatunga <jason@thesparktree.com>
4 years ago
Jason Kulatunga
2c2ecbd9f7
fix link
4 years ago
Jason Kulatunga
9bd8aec315
update getting started & documentation to remove -v /dev/ mount and --privileged requirement. Uses --cap-add and --device instead
...
close #26
close #18
4 years ago
Jason Kulatunga
e44864e64b
fixes.
4 years ago
Jason Kulatunga
8a336bf5c6
wwn should always be lowercase for consistency. It's used in the URL for pushing smart data.
4 years ago
Jason Kulatunga
6a20228262
adding error handling for all DB calls. Returning StatusInternalServerError whenever an error occurs. Adding additional logging to server handlers.
...
Make sure we "return" after a c.JSON call.
4 years ago
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.
4 years ago
Jason Kulatunga
5127399e94
conditionally log request body.
4 years ago
Jason Kulatunga
8a975e2164
log request body.
4 years ago
Jason Kulatunga
7cdacbaffc
add information about how to generate debug logs
4 years ago
Jason Kulatunga
2fee2bf906
fix tests.
4 years ago
Jason Kulatunga
1c59b3c245
fix tests.
4 years ago
Jason Kulatunga
119e24f6ec
Merge pull request #41 from AnalogJ/ext_logging
...
adding new environmental variables for added debugging: COLLECTOR_LOG…
4 years ago
Jason Kulatunga
a57120d600
adding new environmental variables for added debugging: COLLECTOR_LOG_FILE, COLLECTOR_DEBUG, DEBUG, SCRUTINY_LOG_FILE, SCRUTINY_DEBUG
4 years ago
Jason Kulatunga
f2dd87cf82
dont use a go-routine -- disable concurrency.
4 years ago
Jason Kulatunga
8b139ad157
remove concurrency for collector, it causes issues on systems with lots of devices. Just retrieve the data in order for now (eventually we may do it in batches).
4 years ago
Jason Kulatunga
286ec25a94
(0.2.0) Automated packaging of release by Packagr
...
Signed-off-by: Jason Kulatunga <jason@thesparktree.com>
4 years ago
Jason Kulatunga
211fe7843a
Update issue templates
4 years ago
Jason Kulatunga
d6fad90fa4
Merge pull request #38 from AnalogJ/smartctl_scan
...
Smartctl scan
4 years ago
Jason Kulatunga
fd82e9a4da
print error message if publish does not finish successfully.
4 years ago
Jason Kulatunga
ad3f8480d9
added some anonymized nvme test data to ensure that NVMe drives are correctly processed by new device detection. thanks @Roxedus.
...
All db testing is done with files created in a temp directory.
4 years ago
Jason Kulatunga
297f0a51c5
adding ability to write a log file with all output from collector. Executing commands will now log be logged (and when debug is enabled, their output's are also logged).
4 years ago
Jason Kulatunga
67d1c592a5
include the device type in the title, if it's non-standard.
4 years ago
Jason Kulatunga
24262f7c8c
pass deviceType when running smartctl data collection (for megaraid type disks).
...
Make DevicePrefix a public function available outside the detect module.
if device type is detected as "ata" or "scsi", dont pass in via -d parameter, can cause issues with missing data.
4 years ago
Jason Kulatunga
66122778a3
only the firmware can really change between scans. Lets slim down the metadata update.
4 years ago
Jason Kulatunga
3deca46851
fix.
4 years ago
Jason Kulatunga
23d5b86b1b
new device detection engine (OS aware). Uses smartctl --scan to detect drives (and conditionally uses jaypipes/ghw). WWN is calculated from smartctl data, then retrieved from GHW, and fallsback to serial number. WWN calcuation code is based on IEEE spec, for "Registered" IEEE format - NAA5. TODO: support NAA6 and other formats?
4 years ago
Jason Kulatunga
f53833d617
add codecov badge.
4 years ago
Jason Kulatunga
fab1e3c624
fix the coverage file path.
4 years ago
Jason Kulatunga
a55f3acacf
generate a coverage.txt file, and upload to codecov.io.
4 years ago
Jason Kulatunga
853b1a7249
Merge pull request #28 from AnalogJ/notify_failures
...
Adding UI for settings (and eventually notifications).
4 years ago
Jason Kulatunga
a7cd912318
dont ignore NVME storage controllers.
4 years ago