diff --git a/sm5/smartd.8 b/sm5/smartd.8 index decb4b56faaf40af9526087ec51108ee54355029..a753b24e339f6008c6322beb824bbd0ab5dca7c4 100644 --- a/sm5/smartd.8 +++ b/sm5/smartd.8 @@ -1,6 +1,6 @@ \# Copyright (C) 2002 Bruce Allen <smartmontools-support@lists.sourceforge.net> \# -\# $Id: smartd.8,v 1.27 2002/11/13 10:04:13 ballen4705 Exp $ +\# $Id: smartd.8,v 1.28 2002/11/13 10:14:40 ballen4705 Exp $ \# \# 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 @@ -16,7 +16,7 @@ \# Research Center), Jack Baskin School of Engineering, University of \# California, Santa Cruz. http://ssrc.soe.ucsc.edu/ \# -.TH SMARTD 8 "$Date: 2002/11/13 10:04:13 $" "smartmontools-5.0" +.TH SMARTD 8 "$Date: 2002/11/13 10:14:40 $" "smartmontools-5.0" .SH NAME smartd \- S.M.A.R.T. Daemon .SH SYNOPSIS @@ -250,9 +250,11 @@ name on any line of the configuration file. Note that .B these are NOT command-line options for .B smartd. -The Directives below may appear in any order, -following the device name. For the moment, apart from the '\-S' and '\-M' -Directives, these Directives only apply to ATA disks. +The Directives below may appear in any order, following the device +name. For the moment, apart from the '\-S', '\-C', and '\-M' +Directives, these Directives only apply to ATA disks. For SCSI disks, +the '\-M' Directive sends a warning email if the SMART status +indicates a disk failure or problem. .B For ATA disks, if .B no Directives appear, the disk will not be monitored. The '\-a' Directive will try to monitor everything possible. @@ -540,4 +542,4 @@ Please let us know if there is an on\-line source for this document. .SH CVS ID OF THIS PAGE: -$Id: smartd.8,v 1.27 2002/11/13 10:04:13 ballen4705 Exp $ +$Id: smartd.8,v 1.28 2002/11/13 10:14:40 ballen4705 Exp $ diff --git a/sm5/smartd.c b/sm5/smartd.c index 8121b91768318fd25110416f300376adc142196a..0af8cfa704f04eb9bf8a5a0bdb811d4df6218db0 100644 --- a/sm5/smartd.c +++ b/sm5/smartd.c @@ -45,7 +45,7 @@ // CVS ID strings extern const char *CVSid1, *CVSid2; -const char *CVSid6="$Id: smartd.c,v 1.62 2002/11/13 10:04:13 ballen4705 Exp $" +const char *CVSid6="$Id: smartd.c,v 1.63 2002/11/13 10:14:40 ballen4705 Exp $" CVSID1 CVSID2 CVSID3 CVSID4 CVSID7; // global variable used for control of printing, passing arguments, etc. @@ -245,7 +245,7 @@ void Directives() { printout(LOG_INFO," # Comment: text after a hash sign is ignored\n"); printout(LOG_INFO," \\ Line continuation character\n"); printout(LOG_INFO,"Attribute ID is a decimal integer 1 <= ID <= 255\n"); - printout(LOG_INFO,"All but -S and -M Directives are only implemented for ATA devices\n"); + printout(LOG_INFO,"For SCSI devices, only -S, -C, and -M Directives are supported\n"); printout(LOG_INFO,"Example: /dev/hda -a\n"); return; } diff --git a/sm5/smartd.conf.5 b/sm5/smartd.conf.5 index 4c0da2962ea0236284cc220ab11be043d40ceb12..611e7e95f9b7d2b43f90866fe4e141a1593b5ec2 100644 --- a/sm5/smartd.conf.5 +++ b/sm5/smartd.conf.5 @@ -1,6 +1,6 @@ \# Copyright (C) 2002 Bruce Allen <smartmontools-support@lists.sourceforge.net> \# -\# $Id: smartd.conf.5,v 1.4 2002/11/12 21:16:25 ballen4705 Exp $ +\# $Id: smartd.conf.5,v 1.5 2002/11/13 10:14:40 ballen4705 Exp $ \# \# 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 @@ -16,7 +16,7 @@ \# Research Center), Jack Baskin School of Engineering, University of \# California, Santa Cruz. http://ssrc.soe.ucsc.edu/ \# -.TH SMARTD.CONF 5 "$Date: 2002/11/12 21:16:25 $" "smartmontools-5.0" +.TH SMARTD.CONF 5 "$Date: 2002/11/13 10:14:40 $" "smartmontools-5.0" .SH NAME /etc/smartd.conf \- S.M.A.R.T. Monitoring Daemon Configuration File @@ -101,7 +101,7 @@ Section below! .nf .B # First ATA disk on each of two interfaces: .B # -.B \ \ /dev/hda -a +.B \ \ /dev/hda -a -M admin@yoyodyne.com,root@localhost .B \ \ /dev/hdc -a -I 194 -I 5 -i 12 .B # .nf @@ -147,9 +147,11 @@ name on any line of the configuration file. Note that .B these are NOT command-line options for .B smartd. -The Directives below may appear in any order, -following the device name. For the moment, apart from the '\-S' -Directive, these Directives only apply to ATA disks. +The Directives below may appear in any order, following the device +name. For the moment, apart from the '\-S', '\-C', and '\-M' +Directives, these Directives only apply to ATA disks. For SCSI disks, +the '\-M' Directive sends a warning email if the SMART status +indicates a disk failure or problem. .B For ATA disks, if .B no Directives appear, the disk will not be monitored. The '\-a' Directive will try to monitor everything possible. @@ -367,4 +369,4 @@ SEE ALSO: .SH CVS ID OF THIS PAGE: -$Id: smartd.conf.5,v 1.4 2002/11/12 21:16:25 ballen4705 Exp $ +$Id: smartd.conf.5,v 1.5 2002/11/13 10:14:40 ballen4705 Exp $ diff --git a/sm5/smartd.cpp b/sm5/smartd.cpp index 0220296ec6302394a8bf66ce2d15c6f3769000d2..6bdc8deafbfbf39e59d49a8b01263c8a891c9dcd 100644 --- a/sm5/smartd.cpp +++ b/sm5/smartd.cpp @@ -45,7 +45,7 @@ // CVS ID strings extern const char *CVSid1, *CVSid2; -const char *CVSid6="$Id: smartd.cpp,v 1.62 2002/11/13 10:04:13 ballen4705 Exp $" +const char *CVSid6="$Id: smartd.cpp,v 1.63 2002/11/13 10:14:40 ballen4705 Exp $" CVSID1 CVSID2 CVSID3 CVSID4 CVSID7; // global variable used for control of printing, passing arguments, etc. @@ -245,7 +245,7 @@ void Directives() { printout(LOG_INFO," # Comment: text after a hash sign is ignored\n"); printout(LOG_INFO," \\ Line continuation character\n"); printout(LOG_INFO,"Attribute ID is a decimal integer 1 <= ID <= 255\n"); - printout(LOG_INFO,"All but -S and -M Directives are only implemented for ATA devices\n"); + printout(LOG_INFO,"For SCSI devices, only -S, -C, and -M Directives are supported\n"); printout(LOG_INFO,"Example: /dev/hda -a\n"); return; } diff --git a/sm5/smartmontools.spec b/sm5/smartmontools.spec index b9fadec88f4727c4ef4238ee2c98d26c5d901002..3f1137358816dcd4139c31ebff24b3b3e3682b0d 100644 --- a/sm5/smartmontools.spec +++ b/sm5/smartmontools.spec @@ -1,4 +1,4 @@ -Release: 40 +Release: 41 Summary: SMARTmontools - for monitoring S.M.A.R.T. disks and devices Summary(de): SMARTmontools - zur �berwachung von S.M.A.R.T.-Platten und-Ger�ten Summary(es): SMARTmontools - para el seguimiento de discos y dispositivos S.M.A.R.T. @@ -29,7 +29,7 @@ Packager: Bruce Allen <smartmontools-support@lists.sourceforge.net> # http://ftp1.sourceforge.net/smartmontools/smartmontools-%{version}-%{release}.tar.gz # CVS ID of this file is: -# $Id: smartmontools.spec,v 1.61 2002/11/13 10:04:13 ballen4705 Exp $ +# $Id: smartmontools.spec,v 1.62 2002/11/13 10:14:40 ballen4705 Exp $ # Copyright (C) 2002 Bruce Allen <smartmontools-support@lists.sourceforge.net> # Home page: http://smartmontools.sourceforge.net/