1 # Home page: http://www.smartmontools.org
3 # $Id: README 4760 2018-08-19 18:45:53Z chrfranke $
5 # Copyright (C) 2003-08 Bruce Allen
6 # Copyright (C) 2009-18 Christian Franke
8 # SPDX-License-Identifier: GPL-2.0-or-later
11 This directory contains executable shell scripts, that are intended for
13 -m address -M exec /path/to/an/executable
14 Directive in /etc/smartd.conf.
16 Details about how to use this Directive may be found in the man pages for
17 smartd and smartd.conf.
20 should display those pages on your system.
22 If you wish to contribute additional scripts to this collection,
23 please email them to <smartmontools-support@listi.jpberlin.de>,
24 and include a brief description to use below.
26 The files contained in this directory are:
28 Example1: Appends values of $SMARTD_* environment variables and the output
29 of smartctl -a to the normal email message, and sends that
30 to the email address listed as the argument to the -m
33 Example2: Appends output of smartctl -a to the normal email message
34 and sends that to the email address listed as the argument
37 Example3: Uses wall(1) to send a warning message to all users, then powers
40 Example4: Uses powersave-notify to issue a desktop neutral warning.
41 (/etc/smartmontools/run.d/10powersave-notify from Debian package)
43 Example5: Uses run-parts(8) to run scripts from /etc/smartmontools/run.d/.
44 (/usr/share/smartmontools/smartd-runner from Debian package)
46 Example6: Sends a warning mail and then notifies the users by direct write
48 (/usr/libexec/smartmontools/smartdnotify from Fedora package)