Repository navigation
Feature: Unraid as a Disk Health source - #544
Merged
Merged
Conversation
Read parity, data and cache drive states and temperatures from the Unraid API array query. Disabled, missing, wrong and invalid drives show as failed.
Unraid leaves slots without a device out of the array query, so a missing or pulled drive never arrives with its own state. Treat a configured bay absent from the reply as a failed drive.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
unraidprovider to Disk Health that posts anarray { parities disks caches }query to the Unraid GraphQL API with thex-api-keyheader.DISK_NPslots.DISK_OKandDISK_NEWto healthy,DISK_INVALID,DISK_WRONG,DISK_DSBLandDISK_DSBL_NEWto failed, and any other state to no status.unraidUrl,unraidApiKey(secret) andunraidHreffields with translations in all six locales, and list Unraid in the README.Testing
All green. Added 16 tests for the Unraid picker, request, state mapping, missing drive, size and temperature, refused key and link.
Changelog
Added
Checklist