# Set this to 0 to enable
defaultFile="0"
###### User-definable Parameters
### Email Address
email="
mymail@domain.com"
### Global table colors
okColor="#c9ffcc" # Hex code for color to use in SMART Status column if drives pass (default is light green, #c9ffcc)
warnColor="#ffd6d6" # Hex code for WARN color (default is light red, #ffd6d6)
critColor="#ff0000" # Hex code for CRITICAL color (default is bright red, #ff0000)
altColor="#f4f4f4" # Table background alternates row colors between white and this color (default is light gray, #f4f4f4)
### zpool status summary table settings
usedWarn="90" # Pool used percentage for CRITICAL color to be used
scrubAgeWarn="30" # Maximum age (in days) of last pool scrub before CRITICAL color will be used
### SMART status summary table settings
includeSSD="true" # Change to "true" to include SSDs in SMART status summary table; "false" to disable
includeSAS="false" # Change to "true" to include SAS drives in SMART status summary table; "false" to disable
lifeRemainWarn="75" # Life remaining in the SSD at which WARNING color will be used
lifeRemainCrit="50" # Life remaining in the SSD at which CRITICAL color will be used
totalBWWarn="100" # Total bytes written (in TB) to the SSD at which WARNING color will be used
totalBWCrit="200" # Total bytes written (in TB) to the SSD at which CRITICAL color will be used
tempWarn="35" # Drive temp (in C) at which WARNING color will be used
tempCrit="40" # Drive temp (in C) at which CRITICAL color will be used
ssdTempWarn="40" # SSD drive temp (in C) at which WARNING color will be used
ssdTempCrit="45" # SSD drive temp (in C) at which CRITICAL color will be used
sectorsCrit="10" # Number of sectors per drive with errors before CRITICAL color will be used
testAgeWarn="5" # Maximum age (in days) of last SMART test before CRITICAL color will be used
powerTimeFormat="ymdh" # Format for power-on hours string, valid options are "ymdh", "ymd", "ym", or "y" (year month day hour)
### TrueNAS config backup settings
configBackup="false" # Change to "false" to skip config backup (which renders next two options meaningless); "true" to keep config backups enabl>
emailBackup="false" # Change to "true" to email TrueNAS config backup
saveBackup="true" # Change to "false" to delete TrueNAS config backup after mail is sent; "true" to keep it in dir below
backupLocation="/User-Scripts" # Directory in which to save TrueNAS config backups
### UPS status summary settings
reportUPS="false" # Change to "false" to skip reporting the status of the UPS
### General script settings
logfileLocation="/User-Scripts" # Directory in which to save TrueNAS log file. Can be set to /tmp.
logfileName="logfilename" # Log file name
saveLogfile="true" # Change to "false" to delete the log file after creation
##### Drive Overrides
# In the form: declare -A _<serial>
# And then for each override: _<serial>[<value>]="<adjustment>"
# Replace any non ascii alphanumeric characters with _ in the serial.