Skip to content
Snippets Groups Projects
Commit bacf02db authored by sbrabec's avatar sbrabec
Browse files

Added examplescripts/Example4 using powersave-notify.

More temperature monitoring examples in smartd.conf with DEVICESCAN.


git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@2280 4ea69e1a-61f1-4043-bf83-b5c94c648137
parent 8938c1bd
Branches
No related tags found
No related merge requests found
CHANGELOG for smartmontools
$Id: CHANGELOG,v 1.571 2006/10/09 15:13:21 sbrabec Exp $
$Id: CHANGELOG,v 1.572 2006/10/09 15:25:41 sbrabec Exp $
The most recent version of this file is:
http://smartmontools.cvs.sourceforge.net/smartmontools/sm5/CHANGELOG?view=markup
......@@ -33,6 +33,10 @@ NOTES FOR FUTURE RELEASES: see TODO file.
<DEVELOPERS: ADDITIONS TO THE CHANGE LOG GO JUST BELOW HERE, PLEASE>
[SB] Added examplescripts/Example4 using powersave-notify.
[SB] More temperature monitoring examples in smartd.conf with DEVICESCAN.
[SB] Minor improvements of SuSE part of init script.
[CF] Drive database: added Samsung P80 series, P120 series, SP8004H
......
#! /bin/sh
/usr/lib/powersave/powersave-notify "<b>Your hard disk drive is failing!</b>
S.M.A.R.T. message:
$SMARTD_MESSAGE"
# Home page: http://smartmontools.sourceforge.net
#
# $Id: README,v 1.5 2006/04/12 14:54:28 ballen4705 Exp $
# $Id: README,v 1.6 2006/10/09 15:25:41 sbrabec Exp $
#
# Copyright (C) 2003-6 Bruce Allen <smartmontools-support@lists.sourceforge.net>
#
......@@ -47,4 +47,4 @@ Example2: Appends output of smartctl -a to the normal email message
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.
......@@ -2,7 +2,7 @@
# Home page is: http://smartmontools.sourceforge.net
# $Id: smartd.conf,v 1.42 2006/09/15 08:01:20 sxzzsf Exp $
# $Id: smartd.conf,v 1.43 2006/10/09 15:25:41 sbrabec Exp $
# smartd will re-read the configuration file if it receives a HUP
# signal
......@@ -22,6 +22,13 @@
# list the devices that they wish to monitor.
DEVICESCAN
# Alternative setting to ignore temperature and power-on hours reports
# in syslog.
#DEVICESCAN -I 194 -I 231 -I 9
# Alternative setting to report more useful raw temperature in syslog.
#DEVICESCAN -R 194 -R 231 -I 9
# First (primary) ATA/IDE hard disk. Monitor all attributes, enable
# automatic online data collection, automatic Attribute autosave, and
# start a short self-test every day between 2-3am, and a long self test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment