1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

root/trunk/sm5/examplescripts/README @ 2832

Revision 2832, 2.0 KB (checked in by chrfranke, 4 years ago)

Set eol-style native for all source files.

  • Property svn:eol-style set to native
Line 
1# Home page: http://smartmontools.sourceforge.net
2#
3# $Id: README,v 1.7 2008/03/04 22:09:47 ballen4705 Exp $
4#
5# Copyright (C) 2003-8 Bruce Allen <smartmontools-support@lists.sourceforge.net>
6#
7# This program is free software; you can redistribute it and/or modify it
8# under the terms of the GNU General Public License as published by the Free
9# Software Foundation; either version 2, or (at your option) any later
10# version.
11#
12# You should have received a copy of the GNU General Public License (for
13# example COPYING); if not, write to the Free Software Foundation, Inc., 675
14# Mass Ave, Cambridge, MA 02139, USA.
15#
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/
20
21This directory contains executable bash scripts, that are intended for
22use with the
23  -m address -M exec /path/to/an/executable
24Directive in /etc/smartd.conf.
25
26Details about how to use this Directive may be found in the man pages for
27smartd and smartd.conf.
28  man 8 smartd
29  man 5 smartd.conf
30should display those pages on your system.
31
32If you wish to contribute additional scripts to this collection,
33please email them to <smartmontools-support@lists.sourceforge.net>,
34and include a brief description to use below.
35
36The files contained in this directory are:
37
38Example1: 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
41          Directive.
42
43Example2: Appends output of smartctl -a to the normal email message
44          and sends that to the email address listed as the argument
45          to the -m Directive.
46
47Example3: Uses wall(1) to send a warning message to all users, then powers
48          down the machine.
49
50Example4: Uses powersave-notify to issue a desktop neutral warning.
Note: See TracBrowser for help on using the browser.