Skip to content

Treat sas2ircu hot spares as OK (fixes #159)#160

Open
tiger-jmw wants to merge 1 commit into
glensc:masterfrom
TigerComputing:master
Open

Treat sas2ircu hot spares as OK (fixes #159)#160
tiger-jmw wants to merge 1 commit into
glensc:masterfrom
TigerComputing:master

Conversation

@tiger-jmw

Copy link
Copy Markdown

No description provided.

@glensc

glensc commented Dec 19, 2016

Copy link
Copy Markdown
Owner

Neither of the tickets provide required output of commands ran from your system. See CONTRIBUTING.md

@tiger-jmw

tiger-jmw commented Apr 25, 2017

Copy link
Copy Markdown
Author

Before patching:

# /usr/local/lib/nagios/plugins/check_raid  -d --noraid=OK
check_raid 4.0.6
Visit <https://github.com/glensc/nagios-plugin-check_raid#reporting-bugs> how to report bugs

DEBUG EXEC: /sbin/dmsetup status --noflush at /usr/local/lib/nagios/plugins/check_raid line 488.
DEBUG EXEC: /usr/sbin/sas2ircu LIST at /usr/local/lib/nagios/plugins/check_raid line 488.
DEBUG EXEC: /usr/sbin/sas2ircu 0 STATUS at /usr/local/lib/nagios/plugins/check_raid line 488.
DEBUG EXEC: /usr/sbin/sas2ircu 0 DISPLAY at /usr/local/lib/nagios/plugins/check_raid line 488.
CRITICAL: dm:[No devices to check]; sas2ircu:[ctrl #0: 1 Vols: Optimal: 4 Drives: Hot Spare (HSP): ERROR:Ctrl0:Enc1:Slot2:Hot Spare (HSP) ERROR:Ctrl0:Enc1:Slot3:Hot Spare (HSP):]

After:

# /usr/local/lib/nagios/plugins/check_raid  -d --noraid=OK
check_raid 4.0.6
Visit <https://github.com/glensc/nagios-plugin-check_raid#reporting-bugs> how to report bugs

DEBUG EXEC: /sbin/dmsetup status --noflush at /usr/local/lib/nagios/plugins/check_raid line 488.
DEBUG EXEC: /usr/sbin/sas2ircu LIST at /usr/local/lib/nagios/plugins/check_raid line 488.
DEBUG EXEC: /usr/sbin/sas2ircu 0 STATUS at /usr/local/lib/nagios/plugins/check_raid line 488.
DEBUG EXEC: /usr/sbin/sas2ircu 0 DISPLAY at /usr/local/lib/nagios/plugins/check_raid line 488.
OK: dm:[No devices to check]; sas2ircu:[ctrl #0: 1 Vols: Optimal: 4 Drives: Hot Spare (HSP)::]

@glensc

glensc commented Apr 25, 2017

Copy link
Copy Markdown
Owner

@tiger-jmw output of each of the commands too please.

@glensc

glensc commented Jun 18, 2017

Copy link
Copy Markdown
Owner

will not merge without command output files because unable to test this. so provide the output as requested.

@glensc

glensc commented Aug 9, 2017

Copy link
Copy Markdown
Owner

output of each commands executed still missing. from your debug log i see these would be:

DEBUG EXEC: /sbin/dmsetup status --noflush at /usr/local/lib/nagios/plugins/check_raid line 488.
DEBUG EXEC: /usr/sbin/sas2ircu LIST at /usr/local/lib/nagios/plugins/check_raid line 488.
DEBUG EXEC: /usr/sbin/sas2ircu 0 STATUS at /usr/local/lib/nagios/plugins/check_raid line 488.
DEBUG EXEC: /usr/sbin/sas2ircu 0 DISPLAY at /usr/local/lib/nagios/plugins/check_raid line 488.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants