Commit Graph

7 Commits (36f53198be251c5cd921baefd16090271152be5f)

Author SHA1 Message Date
Jason Kulatunga 9fac3c6308 fix gorm dependency.
4 years ago
Jason Kulatunga b44ef5cb9c adding support for a collecto config file.
4 years ago
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.
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 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 2ad120c87b added debug logging message for detected devices.
4 years ago
Jason Kulatunga 8482272d45 init
4 years ago