1 # Home page: http://www.smartmontools.org
3 # $Id: README 4120 2015-08-27 16:12:21Z samm2 $
5 # Copyright (C) 2003-8 Bruce Allen <smartmontools-support@lists.sourceforge.net>
6 # Copyright (C) 2009-14 Christian Franke <smartmontools-support@lists.sourceforge.net>
8 # This program is free software; you can redistribute it and/or modify it
9 # under the terms of the GNU General Public License as published by the Free
10 # Software Foundation; either version 2, or (at your option) any later
13 # You should have received a copy of the GNU General Public License (for
14 # example COPYING). If not, see <http://www.gnu.org/licenses/>.
16 # This code was originally developed as a Senior Thesis by Michael Cornwell
17 # at the Concurrent Systems Laboratory (now part of the Storage Systems
18 # Research Center), Jack Baskin School of Engineering, University of
19 # California, Santa Cruz. http://ssrc.soe.ucsc.edu/
21 This directory contains executable shell scripts, that are intended for
23 -m address -M exec /path/to/an/executable
24 Directive in /etc/smartd.conf.
26 Details about how to use this Directive may be found in the man pages for
27 smartd and smartd.conf.
30 should display those pages on your system.
32 If you wish to contribute additional scripts to this collection,
33 please email them to <smartmontools-support@lists.sourceforge.net>,
34 and include a brief description to use below.
36 The files contained in this directory are:
38 Example1: Appends values of $SMARTD_* environment variables and the output
39 of smartctl -a to the normal email message, and sends that
40 to the email address listed as the argument to the -m
43 Example2: Appends output of smartctl -a to the normal email message
44 and sends that to the email address listed as the argument
47 Example3: Uses wall(1) to send a warning message to all users, then powers
50 Example4: Uses powersave-notify to issue a desktop neutral warning.
51 (/etc/smartmontools/run.d/10powersave-notify from Debian package)
53 Example5: Uses run-parts(8) to run scripts from /etc/smartmontools/run.d/.
54 (/usr/share/smartmontools/smartd-runner from Debian package)
56 Example6: Sends a warning mail and then notifies the users by direct write
58 (/usr/libexec/smartmontools/smartdnotify from Fedora package)