File: README

package info (click to toggle)
smartmontools 6.5%2Bsvn4324-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,772 kB
  • ctags: 7,352
  • sloc: cpp: 41,134; ansic: 9,556; sh: 1,339; makefile: 894
file content (58 lines) | stat: -rw-r--r-- 2,439 bytes parent folder | download | duplicates (3)
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Home page: http://www.smartmontools.org
#
# $Id: README 4120 2015-08-27 16:12:21Z samm2 $
#
# Copyright (C) 2003-8 Bruce Allen <smartmontools-support@lists.sourceforge.net>
# Copyright (C) 2009-14 Christian Franke <smartmontools-support@lists.sourceforge.net>
# 
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the Free
# Software Foundation; either version 2, or (at your option) any later
# version.
# 
# You should have received a copy of the GNU General Public License (for
# example COPYING).  If not, see <http://www.gnu.org/licenses/>.
#
# This code was originally developed as a Senior Thesis by Michael Cornwell
# at the Concurrent Systems Laboratory (now part of the Storage Systems
# Research Center), Jack Baskin School of Engineering, University of
# California, Santa Cruz. http://ssrc.soe.ucsc.edu/

This directory contains executable shell scripts, that are intended for
use with the
  -m address -M exec /path/to/an/executable
Directive in /etc/smartd.conf.

Details about how to use this Directive may be found in the man pages for
smartd and smartd.conf.
  man 8 smartd
  man 5 smartd.conf
should display those pages on your system.

If you wish to contribute additional scripts to this collection,
please email them to <smartmontools-support@lists.sourceforge.net>,
and include a brief description to use below.

The files contained in this directory are:

Example1: Appends values of $SMARTD_* environment variables and the output
          of smartctl -a to the normal email message, and sends that
          to the email address listed as the argument to the -m
          Directive.

Example2: Appends output of smartctl -a to the normal email message
          and sends that to the email address listed as the argument
          to the -m Directive.

Example3: Uses wall(1) to send a warning message to all users, then powers
          down the machine.

Example4: Uses powersave-notify to issue a desktop neutral warning.
          (/etc/smartmontools/run.d/10powersave-notify from Debian package)

Example5: Uses run-parts(8) to run scripts from /etc/smartmontools/run.d/.
          (/usr/share/smartmontools/smartd-runner from Debian package)

Example6: Sends a warning mail and then notifies the users by direct write
          to terminals.
          (/usr/libexec/smartmontools/smartdnotify from Fedora package)