Record layout - smartmon-ux.conf

Top  Previous 

This file is automatically generated by the -zfs aware version of smartmon-ux, and is used to define and configure the LEDs associated with disk and pool states.

Once the file has been created, you are free to modify the default configuration, or add records to define the behaviour of LEDs for your specific enclosure. This is how we address customizing the LED behavior.

 

root@nex: cat /etc/smartmon-ux.conf

# Configuration file version 1.01 DO NOT MODIFY THIS LINE

Use Codes:

F = FAULT LED

I = IDENTIFY LED

R = REBUILD LED

E = REMOVE LED

P = PREDICTIVEFAIL LED

S = SWAP LED

A = ARRAY FAILED LED

C = ARRRAY CRITICAL LED

K = ARRAY CHECK LED

H = HOTSPARE LED

- = Turn LED OFF

# Ordering

# Pool Online

# Pool Degraded

# Pool Faulted

# Pool Offline

# Pool Unavailable

# Pool Unknown or other

# Disk Online

# Disk Faulted

# Disk Available (Spare)

# Disk Unavailable

# Disk Foreign

# Disk Inuse

# Disk Offline

# Disk Removed

# Alarm # code (0-7), X to turn off audible alarm.

# Pool Online and scrubbing

# Software applies Disk Setting, then Pool setting, in case some enclosures only acknowledge last one selected

# All enclosure records are column-sensitive.  The 8-byte VendorID(VVVVVVVV), followed by 16-byte ProductID

# followed by : then the data.  The 16-byte settings start as shown

#    VVVVVVVVPPPPPPPPPPPPPPPP:123456789.123456

ENCL LSILOGICSYM3600-SAS     :-RIII--F-F-RFF3E

# These is default setting for an enclosure (Pretty much lowest common denominator)

# Make sure line is 'ENCLDEFAULT:' followed by one or more spaces, make sure there is no whitespace in the settings

ENCLDEFAULT:  -IIIII-F-I-IFF3I

ENCL LSILOGIC SASX36 A.1     :-------F------3I

 

In the case above, the enclosure that identifies itself as a "LSILOGIC SASX36 A.1" enclosure will simply light up a FAULT LED when zfs faults the disk, and it will light up the identify LEDs for all disks in the pool while it is scrubbing.

 

The SYM3600 enclosure has a more robust configuration.  It not only lights the FAULT LEDs for faulted disks, but it will also identify all the devices in a degraded, faulted, or offline pool.

 

You may modify these fields at will, and the new values will be used at the next scheduled polling interval.