-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature-request hpssacli drive predictive failure #174
Comments
Could be implemented via MYHDDRESULT=$(hpssacli ctrl all show config detail | awk '/Physical Drives/,/Array/' | grep "Predictive Failure" | awk '{print $2;}' | tr '\n' ',') |
blockquote markdown is three backticks (```), not dots (...). also contributing guidelines require that you post output of all commands, not random ones of your choice. and do not truncate anything. |
Pardon me... # hpssacli ctrl all show config detail
Sorry, I suck at pearl - Could be implemented via (bash)
|
Does it still need test data? |
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]]
The text was updated successfully, but these errors were encountered: