Browse Source

adaptec_raid: logical device regex fix (#6338)

Ilya Mashchenko 5 years ago
parent
commit
00d91c0368
1 changed files with 2 additions and 2 deletions
  1. 2 2
      collectors/python.d.plugin/adaptec_raid/adaptec_raid.chart.py

+ 2 - 2
collectors/python.d.plugin/adaptec_raid/adaptec_raid.chart.py

@@ -56,8 +56,8 @@ GOOD_PD_STATUS = (
 )
 
 RE_LD = re.compile(
-    r'Logical device number\s+([0-9]+).*?'
-    r'Status of logical device\s+: ([a-zA-Z]+)'
+    r'Logical [dD]evice number\s+([0-9]+).*?'
+    r'Status of [lL]ogical [dD]evice\s+: ([a-zA-Z]+)'
 )