diff --git a/sm5/CHANGELOG b/sm5/CHANGELOG index 865cf828d432d2f27d38334ab93f9b9642812e1e..9c70848548bef68654a4a8f2c5a8a382108218e1 100644 --- a/sm5/CHANGELOG +++ b/sm5/CHANGELOG @@ -1,6 +1,6 @@ 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 diff --git a/sm5/examplescripts/Example4 b/sm5/examplescripts/Example4 new file mode 100755 index 0000000000000000000000000000000000000000..f436b0f298847723b9d61982569e420343e55c55 --- /dev/null +++ b/sm5/examplescripts/Example4 @@ -0,0 +1,5 @@ +#! /bin/sh + +/usr/lib/powersave/powersave-notify "<b>Your hard disk drive is failing!</b> +S.M.A.R.T. message: +$SMARTD_MESSAGE" diff --git a/sm5/examplescripts/README b/sm5/examplescripts/README index 404feca2a49b8566c4ddc416426de2405ac99367..682615bd63bc289b67b7b387f5eb35689cfcda41 100644 --- a/sm5/examplescripts/README +++ b/sm5/examplescripts/README @@ -1,6 +1,6 @@ # 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. diff --git a/sm5/smartd.conf b/sm5/smartd.conf index 7cd6d84a418970b60266248516b397e9316f389a..afaad0e9d08cc763e0d35139ed982a495a94bb61 100644 --- a/sm5/smartd.conf +++ b/sm5/smartd.conf @@ -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