summaryrefslogtreecommitdiffstats
path: root/python.d/mdstat.chart.py
diff options
context:
space:
mode:
Diffstat (limited to 'python.d/mdstat.chart.py')
-rw-r--r--python.d/mdstat.chart.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python.d/mdstat.chart.py b/python.d/mdstat.chart.py
index 8b0500eb36..5a51660d29 100644
--- a/python.d/mdstat.chart.py
+++ b/python.d/mdstat.chart.py
@@ -18,7 +18,7 @@ class Service(SimpleService):
[None, 'Faulty devices in MD', 'failed disks', 'health', 'md.health', 'line'],
'lines': []}}
self.proc_mdstat = '/proc/mdstat'
- self.regex_disks = compile(r'((?<= )[md_]+[0-9]+(?= : active)).*?((?<= \[)[0-9]+)/([0-9]+(?=\] ))')
+ self.regex_disks = compile(r'((?<=\ )[a-zA-Z_0-9]+(?= : active)).*?((?<= \[)[0-9]+)/([0-9]+(?=\] ))')
def check(self):
raw_data = self._get_raw_data()