Skip to content
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

hpacucli: Failing when firmware upgrade is reported to be required #157

Closed
waja opened this issue Dec 14, 2016 · 3 comments
Closed

hpacucli: Failing when firmware upgrade is reported to be required #157

waja opened this issue Dec 14, 2016 · 3 comments

Comments

@waja
Copy link

waja commented Dec 14, 2016

Output of check_raid -d:

# /usr/lib/nagios/plugins/check_raid -p hpacucli -d
Visit <https://github.com/glensc/nagios-plugin-check_raid#reporting-bugs> how to report bugs

DEBUG EXEC: /usr/sbin/hpacucli controller all show status at /usr/lib/nagios/plugins/check_raid line 482.
Use of uninitialized value $target in hash element at /usr/lib/nagios/plugins/check_raid line 2955, <$fh> line 2.
Unparsed: [                           to prevent rare potential data write errors on a]
Unparsed: [                           RAID 1 or RAID 1+0 volume in a scenario of]
Unparsed: [                           concurrent background surface analysis and I/O write]
Unparsed: [                           operations.  Please refer to Customer Advisory]
Unparsed: [                           c01587778 which can be found at hp.com.]
Use of uninitialized value in string comparison (cmp) at /usr/lib/nagios/plugins/check_raid line 2971.
Use of uninitialized value in substitution iterator at /usr/lib/nagios/plugins/check_raid line 463.
DEBUG EXEC: /usr/sbin/hpacucli controller  logicaldrive all show at /usr/lib/nagios/plugins/check_raid line 482.
Use of uninitialized value in quotemeta at /usr/lib/nagios/plugins/check_raid line 3020, <$fh> line 3.
DEBUG EXEC: /usr/sbin/hpacucli controller slot=0 logicaldrive all show at /usr/lib/nagios/plugins/check_raid line 482.
Use of uninitialized value in string ne at /usr/lib/nagios/plugins/check_raid line 3091.
Use of uninitialized value $name in concatenation (.) or string at /usr/lib/nagios/plugins/check_raid line 3118.
UNKNOWN: hpacucli:[[ERROR, The controller must be identified by slot, chassisname, wwn,], Smart Array 6i[OK]: Array A(OK)[LUN1:OK]]

Output of failing command from check_raid -p hpacucli -d

/usr/sbin/hpacucli controller all show status

FIRMWARE UPGRADE REQUIRED: A firmware update is recommended for this controller
                           to prevent rare potential data write errors on a
                           RAID 1 or RAID 1+0 volume in a scenario of
                           concurrent background surface analysis and I/O write
                           operations.  Please refer to Customer Advisory
                           c01587778 which can be found at hp.com.


Smart Array 6i in Slot 0 (Embedded)
   Controller Status: OK
   Cache Status: OK



/usr/sbin/hpacucli controller logicaldrive all show


Error: The controller must be identified by slot, chassisname, wwn,
       serialnumber, or IPF information.

/usr/sbin/hpacucli controller slot=0 logicaldrive all show


FIRMWARE UPGRADE REQUIRED: A firmware update is recommended for this controller
                           to prevent rare potential data write errors on a
                           RAID 1 or RAID 1+0 volume in a scenario of
                           concurrent background surface analysis and I/O write
                           operations.  Please refer to Customer Advisory
                           c01587778 which can be found at hp.com.


Smart Array 6i in Slot 0 (Embedded)

   array A

      logicaldrive 1 (67.8 GB, RAID 1, OK)

If you need more information, please let me know.

@glensc
Copy link
Owner

glensc commented Dec 14, 2016

all commands that check_raid executed must be posted.

@waja
Copy link
Author

waja commented Dec 14, 2016

Okay .. I updated it for /usr/lib/nagios/plugins/check_raid -p hpacucli -d

glensc added a commit that referenced this issue Dec 19, 2016
@glensc glensc closed this as completed Dec 19, 2016
@glensc
Copy link
Owner

glensc commented Dec 19, 2016

i believe it's fixed now. you may try snapshot release until complete release is made:
https://github.com/glensc/nagios-plugin-check_raid/releases

glensc added a commit that referenced this issue Dec 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants