-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add ATA disk mapping, zpool check, netdev check, and a config file #15
Merged
Merged
Changes from 18 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
47bc5ed
support zpool checking in ugreen-diskiomon
miskcoo 45421b1
remove unnecessary script for checking zpool status
miskcoo 9e6d9ac
fix a typo
miskcoo 5c621c0
fix a typo
miskcoo e87c026
a todo comment for unhealthy zpool
miskcoo a1bc696
add the disk mapping method by ATA
miskcoo 4272941
read disk serial from env
miskcoo a84ca1e
add a config file (#14)
miskcoo 0592c3b
fix: remove the trailing slash in the output of ls -ahl
miskcoo 5743afd
add comments about the config file
miskcoo 3377233
refine the ata mapping
miskcoo f553e84
move the disk online check outside the activities checking loop
miskcoo 10b4439
add configs for netdevmon
miskcoo 46dd3e2
Merge branch 'zpool-monitoring' into ata-disk-mapping
miskcoo a37dcea
add configs for zpool monitoring
miskcoo aa26e71
make the color configurable
miskcoo 78693c5
support configuring the netdev color, and monitoring the gw / link st…
miskcoo 49309ec
update the systemd services and readme files
miskcoo 90e530c
fix: null index in array
miskcoo 60ef585
mapping array for DXP4800 series
miskcoo c98bde4
remove unnecessary sleep when module is loaded
miskcoo bc2bb10
update readme
miskcoo 344a45f
further description about the conf
miskcoo 5c9c22e
config for the brightness of leds
miskcoo f58940a
change the color of some messages
miskcoo 7d7ad13
update readme
miskcoo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
File renamed without changes.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here I get two errors: (because I only have 6 and not 8 disk slots)
/usr/bin/ugreen-diskiomon: line 147: dev_map: bad array subscript
/usr/bin/ugreen-diskiomon: line 147: dev_map: bad array subscript
DEBUG: _tmp_arr[0]='ata3'
DEBUG: _tmp_arr[1]='ata4'
DEBUG: _tmp_arr[2]='ata5'
DEBUG: _tmp_arr[3]='ata6'
DEBUG: _tmp_arr[4]='ata1'
DEBUG: _tmp_arr[5]='ata2'
DEBUG: _tmp_arr[6]=''
DEBUG: _tmp_arr[7]=''
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is fixed now