Commit Graph

117 Commits (6a202282628aedc78c28800339738cd6ef56f254)
 

Author SHA1 Message Date
Jason Kulatunga 6a20228262 adding error handling for all DB calls. Returning StatusInternalServerError whenever an error occurs. Adding additional logging to server handlers.
4 years ago
Jason Kulatunga 531fea76b2 keep example config file in sync with config defaults. fixes #3
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
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
4 years ago
Jason Kulatunga 211fe7843a Update issue templates
4 years ago
Jason Kulatunga d6fad90fa4
Merge pull request #38 from AnalogJ/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.
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).
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
4 years ago
Jason Kulatunga a7cd912318 dont ignore NVME storage controllers.
4 years ago
Jason Kulatunga e6eeaf7e31 adding mocked detail data for frontend viewing. placeholders for settings panels. Add dialog panel for Details setings.
4 years ago
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.
4 years ago
Jason Kulatunga 98415e625d fix import. added simle test for notify test endpoint.
4 years ago
Jason Kulatunga 78a619b09d moved middleware into more relevant location. Adding send test notifications handler. making sure that config is available from web handler functions.
4 years ago
Jason Kulatunga c913cf39b9 adding new nottification validation erorr. Added a notification class containing webhook, script and shoutrrr notification logic. Adding "Test notification endpoint".
4 years ago
Jason Kulatunga 6bee0d1489 don't build a docker image and attach to the release. Scrutiny is public now, images hosted on docker-hub.
4 years ago
Jason Kulatunga cadf055105 add license and logo link.
4 years ago
Jason Kulatunga 1acd7e0d47 badges
4 years ago
Jason Kulatunga 266c95f857 fix #3
4 years ago
Jason Kulatunga 458eaf2726
Merge pull request #1 from RealOrangeOne/patch-1
4 years ago
Jake Howard 5c6e1b5ce2
Fix scrutiny binary location
4 years ago
Jason Kulatunga 62b2ec9554 (0.1.13) Automated packaging of release by Packagr
4 years ago
Jason Kulatunga 0c85f65ebb typos.
4 years ago
Jason Kulatunga 373e3e335c add thankyou comment to README.
4 years ago
Jason Kulatunga a4a8cc7b79 update readme docs.
4 years ago
Jason Kulatunga f40b8d0c53 fix Docker command in CONTRIBUTING.md
4 years ago
Jason Kulatunga fa33b00826 fix Github Actions after move.
4 years ago
Jason Kulatunga 6e6c9b7251 fix dockerfile.
4 years ago
Jason Kulatunga b44b052f81 fix copy.
4 years ago
Jason Kulatunga 14d733e9cc move docker files & eventually docker-compose files into 'docker' directory.
4 years ago
Jason Kulatunga 5c9ed3ba22 update LICENSE section.
4 years ago
Jason Kulatunga 1def7d334c add image to readme.
4 years ago
Jason Kulatunga e43048feae only run CI on pushes.
4 years ago