diff options
author | Ilya Mashchenko <ilya@netdata.cloud> | 2023-11-13 17:02:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-13 17:02:59 +0200 |
commit | dd361c3b0ed5b4c0216939dc9f1d32a97a3d9660 (patch) | |
tree | 71b45bed409dde8750d6bf35c35140eb4dfbb54f | |
parent | d41bf12a2b5db6e061119f4d87b9a3cd4976009f (diff) |
adaptec_raid: fix parsing PD without NCQ status (#16400)
-rw-r--r-- | collectors/python.d.plugin/adaptec_raid/adaptec_raid.chart.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/collectors/python.d.plugin/adaptec_raid/adaptec_raid.chart.py b/collectors/python.d.plugin/adaptec_raid/adaptec_raid.chart.py index bb59d88e1d..1995ad6810 100644 --- a/collectors/python.d.plugin/adaptec_raid/adaptec_raid.chart.py +++ b/collectors/python.d.plugin/adaptec_raid/adaptec_raid.chart.py @@ -87,7 +87,7 @@ def find_pds(d): elif row.startswith('Temperature'): v = row.split(':')[-1].split()[0] pd.temperature = v - elif row.startswith('NCQ status'): + elif row.startswith(('NCQ status', 'Device Phy')) or not row: if pd.id and pd.state and pd.smart_warnings: pds.append(pd) pd = PD() |