FreeBSD Bugzilla – Attachment 131873 Details for
Bug 176049
[patch] 410.status-mfi: new periodic script to monitor mfi(4) arrays
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 1.07 KB, created by
Daniel O'Connor
on 2013-02-12 07:00:00 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
Daniel O'Connor
Created:
2013-02-12 07:00:00 UTC
Size:
1.07 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># 410.status-mfi ># >echo x - 410.status-mfi >sed 's/^X//' >410.status-mfi << '3a7aa4f227ff0f30f691b713411da5bd' >X#!/bin/sh >X# >X# $FreeBSD$ >X# >X >X# If there is a global system configuration file, suck it in. >X# >Xif [ -r /etc/defaults/periodic.conf ] >Xthen >X . /etc/defaults/periodic.conf >X source_periodic_confs >Xfi >X >Xcase "$daily_status_mfi_enable" in >X [Yy][Ee][Ss]) >X echo >X echo 'Checking status of mfi(4) devices:' >X >X if mfiutil show volumes; then >X components="$(mfiutil show volumes | fgrep DEGRADED)" >X if [ "${components}" ]; then >X rc=3 >X else >X rc=0 >X fi >X else >X rc=2 >X fi >X ;; >X >X *) rc=0;; >Xesac >X >Xexit $rc >3a7aa4f227ff0f30f691b713411da5bd >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 176049
: 131873