]> code.delx.au - monosys/commitdiff
smartd.conf
authorJames Bunton <jamesbunton@delx.net.au>
Sun, 23 Aug 2015 04:49:37 +0000 (14:49 +1000)
committerJames Bunton <jamesbunton@delx.net.au>
Sun, 23 Aug 2015 04:49:37 +0000 (14:49 +1000)
smartd.conf [new file with mode: 0644]

diff --git a/smartd.conf b/smartd.conf
new file mode 100644 (file)
index 0000000..7b3e20a
--- /dev/null
@@ -0,0 +1,13 @@
+# /etc/smartd.conf
+# See the manual for smartd.conf
+# 1) Scan for all devices (DEVICESCAN)
+# 2) Check the SMART health status (-H)
+# 3) Report increases in SMART error logs (-l)
+# 4) Check for failure of any Usage Attributes (-f)
+# 5) Run an Offline Immediate Test every six hours (O/../.././(00|06|12|18))
+# 6) Run a Short Self-Test every day at 0100 (S/../.././01)
+# 7) Run a Long Self-Test every Saturday at 0300 (L/../../6/03)
+# 8) Report any output by running scripts in /etc/smartmontools/run.d
+
+DEVICESCAN -H -l error -l selftest -f -s (O/../.././(00|06|12|18)|S/../.././01|L/../../6/03) -m root -M exec /usr/share/smartmontools/smartd-runner
+