Skip to content

Feature-request hpssacli drive predictive failure #174

@FJerusalem

Description

@FJerusalem

It would be great to implement a predictive failure status for the hp-controller-disks as well:

hpssacli ctrl all show config detail

...
Physical Drives
physicaldrive 4I:1:1 (port 4I:box 1:bay 1, SAS, 1 TB, OK)
physicaldrive 4I:1:2 (port 4I:box 1:bay 2, SAS, 1 TB, OK)
physicaldrive 4I:1:3 (port 4I:box 1:bay 3, SAS, 1 TB, OK)
physicaldrive 4I:1:4 (port 4I:box 1:bay 4, SAS, 1 TB, OK)
physicaldrive 4I:1:5 (port 4I:box 1:bay 5, SAS, 1 TB, Predictive Failure)
physicaldrive 4I:1:6 (port 4I:box 1:bay 6, SAS, 1 TB, OK)
physicaldrive 4I:1:7 (port 4I:box 1:bay 7, SAS, 1 TB, OK)
physicaldrive 4I:1:8 (port 4I:box 1:bay 8, SAS, 1 TB, OK)
physicaldrive 4I:1:9 (port 4I:box 1:bay 9, SAS, 1 TB, OK)
physicaldrive 4I:1:10 (port 4I:box 1:bay 10, SAS, 1 TB, OK)
physicaldrive 4I:1:11 (port 4I:box 1:bay 11, SAS, 1 TB, Predictive Failure)
physicaldrive 4I:1:12 (port 4I:box 1:bay 12, SAS, 1 TB, OK)
...

/opt/check_raid.pl -p hpssacli -d

Visit https://github.com/glensc/nagios-plugin-check_raid#reporting-bugs how to report bugs

DEBUG EXEC: /usr/sbin/hpssacli controller all show status at /opt/check_raid.pl line 474.
DEBUG EXEC: /usr/sbin/hpssacli controller slot=1 logicaldrive all show at /opt/check_raid.pl line 474.
OK: hpssacli:[Smart Array P800: Array A(OK)[LUN1:OK,LUN2:OK]]

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions