forked from ninpucho/FreeNAS-Report
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.conf.defaults
executable file
·37 lines (30 loc) · 2.31 KB
/
settings.conf.defaults
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
###### User-definable Parameters
# If this is the 'settings.conf.defaults' file, it is recommended to copy to a local
# 'settings.conf' file to edit the default values.
# WARNING: Values must not contain any spaces do not need to be in quotes.
# The parser takes the whole line as a value and strips everything AT and
# AFTER the first space.
### Email Address
email=your@email.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=false # [NOTE: Currently this is pretty much useless] Change to true to include SSDs in SMART status summary table; false to disable
tempWarn=40 # Drive temp (in C) at which WARNING color will be used
tempCrit=45 # 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 enabled
saveBackup=true # Change to false to delete TrueNAS config backup after mail is sent; true to keep it in dir below
backupLocation=/path/to/config/backup # Directory in which to save TrueNAS config backups
### Log File
keepLogFile=false # Change to true to prevent the deletion of the file at the end of the script. Useful for debugging
logfile=/tmp/smart_report.tmp # Set the location for the temporary log file