Skip to content

Comments

Added parsing of "checking" state to mdstat#321

Merged
discordianfish merged 1 commit intoprometheus:masterfrom
frittentheke:mdadmCheck
Aug 24, 2020
Merged

Added parsing of "checking" state to mdstat#321
discordianfish merged 1 commit intoprometheus:masterfrom
frittentheke:mdadmCheck

Conversation

@frittentheke
Copy link
Contributor

@frittentheke frittentheke commented Aug 12, 2020

Currently the checking state caused by i.e. checkarray (see https://www.thomas-krenn.com/en/wiki/Mdadm_checkarray_function#Perform_Automatic_Check) is not parsed as state an array can be in.

This is unfortunate as this condition certainly makes sense to monitor and take into considerations when writing alerts on i.e. disk read rates or total blocks vs. in sync blocks.

Signed-off-by: Christian Rohmann github@frittentheke.de

@discordianfish @pgier PTAL

Signed-off-by: Christian Rohmann <github@frittentheke.de>
Copy link
Contributor

@paulfantom paulfantom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested with prometheus/node_exporter#1810 on my personal RAID. Seems to be working as expected.
/lgtm

/cc @SuperQ

Copy link
Member

@SuperQ SuperQ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@discordianfish discordianfish merged commit 50370d1 into prometheus:master Aug 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants