master
md 128 lines 3.27 KB
Rendered Raw
1 <!--startmeta
2 custom_edit_url: "https://github.com/netdata/netdata/edit/master/src/collectors/proc.plugin/integrations/md_raid.md"
3 meta_yaml: "https://github.com/netdata/netdata/edit/master/src/collectors/proc.plugin/metadata.yaml"
4 sidebar_label: "MD RAID"
5 learn_status: "Published"
6 learn_rel_path: "Collecting Metrics/Collectors/Storage and Filesystems"
7 keywords: ['raid', 'mdadm', 'mdstat', 'raid']
8 message: "DO NOT EDIT THIS FILE DIRECTLY, IT IS GENERATED BY THE COLLECTOR'S metadata.yaml FILE"
9 endmeta-->
10
11 # MD RAID
12
13
14 <img src="https://netdata.cloud/img/hard-drive.svg" width="150"/>
15
16
17 Plugin: proc.plugin
18 Module: /proc/mdstat
19
20 <img src="https://img.shields.io/badge/maintained%20by-Netdata-%2300ab44" />
21
22 ## Overview
23
24 This integration monitors the status of MD RAID devices.
25
26
27
28 This collector is supported on all platforms.
29
30 This collector supports collecting metrics from multiple instances of this integration, including remote instances.
31
32
33 ### Default Behavior
34
35 #### Auto-Detection
36
37 This integration doesn't support auto-detection.
38
39 #### Limits
40
41 The default configuration for this integration does not impose any limits on data collection.
42
43 #### Performance Impact
44
45 The default configuration for this integration is not expected to impose a significant performance impact on the system.
46
47 ## Setup
48
49
50 ### Prerequisites
51
52 No action required.
53
54 ### Configuration
55
56 #### Options
57
58
59
60 There are no configuration options.
61
62
63
64 #### via File
65
66 There is no configuration file.
67
68 ##### Examples
69 There are no configuration examples.
70
71
72
73 ## Alerts
74
75
76 The following alerts are available:
77
78 | Alert name | On metric | Description |
79 |:------------|:----------|:------------|
80 | [ mdstat_last_collected ](https://github.com/netdata/netdata/blob/master/src/health/health.d/mdstat.conf) | md.disks | number of seconds since the last successful data collection |
81 | [ mdstat_disks ](https://github.com/netdata/netdata/blob/master/src/health/health.d/mdstat.conf) | md.disks | number of devices in the down state for the ${label:device} ${label:raid_level} array. Any number > 0 indicates that the array is degraded. |
82 | [ mdstat_mismatch_cnt ](https://github.com/netdata/netdata/blob/master/src/health/health.d/mdstat.conf) | md.mismatch_cnt | number of unsynchronized blocks for the ${label:device} ${label:raid_level} array |
83 | [ mdstat_nonredundant_last_collected ](https://github.com/netdata/netdata/blob/master/src/health/health.d/mdstat.conf) | md.nonredundant | number of seconds since the last successful data collection |
84
85
86 ## Metrics
87
88 Metrics grouped by *scope*.
89
90 The scope defines the instance that the metric belongs to. An instance is uniquely identified by a set of labels.
91
92
93
94 ### Per MD RAID instance
95
96
97
98 This scope has no labels.
99
100 Metrics:
101
102 | Metric | Dimensions | Unit |
103 |:------|:----------|:----|
104 | md.health | a dimension per md array | failed disks |
105
106 ### Per md array
107
108
109
110 Labels:
111
112 | Label | Description |
113 |:-----------|:----------------|
114 | device | TBD |
115 | raid_level | TBD |
116
117 Metrics:
118
119 | Metric | Dimensions | Unit |
120 |:------|:----------|:----|
121 | md.disks | inuse, down | disks |
122 | md.mismatch_cnt | count | unsynchronized blocks |
123 | md.status | check, resync, recovery, reshape | percent |
124 | md.expected_time_until_operation_finish | finish_in | seconds |
125 | md.operation_speed | speed | KiB/s |
126 | md.nonredundant | available | boolean |
127
128