Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: [ SOLVED ] Re: [gentoo-user] smartd and ssmtp not sending emails again.
Date: Tue, 04 Aug 2015 09:55:40
Message-Id: 55C08C12.4020600@gmail.com
In Reply to: Re: [gentoo-user] smartd and ssmtp not sending emails again. by John Campbell
1 John Campbell wrote:
2 > On 08/04/2015 01:35 AM, Dale wrote:
3 >> Howdy,
4 >>
5 >> I went through this before and I haven't changed anything so not sure
6 >> why it isn't working now. I decided to test smartd to make sure that it
7 >> would send me a email if a drive developed a problem. I added -M test
8 >> to the line, restarted smartd and got nothing. I mean nothing but
9 >> crickets. Going to post relevant info that I know of. Here we go:
10 >>
11 >> Uncommented lines from smartd.conf:
12 >>
13 >>
14 >> DEVICESCAN -I 194 -I 231 -I 9
15 >>
16 >> /dev/sda -a -d sat -o on -S on -s (S/../.././12|L/../../6/12) -m root -M
17 >> test
18 >> /dev/sdb -a -d sat -o on -S on -s (S/../.././12|L/../../6/12) -m root -M
19 >> test
20 >> /dev/sdc -a -d sat -o on -S on -s (S/../.././12|L/../../6/12) -m root -M
21 >> test
22 >
23 > Everything in smartd.conf after the DEVICESCAN is ignored.
24 >
25 > Unless you've stripped out all the comments from smartd.conf it should
26 > be explained a half dozen lines above your "DEVICESCAN" line.
27 >
28 >
29 >
30
31
32 Yeppie!!!! That worked. It did upgrade recently and I had to re-add
33 the other drive lines back but I don't recall changing that part. The
34 upgrade is the reason I tested it. I wanted to make sure it still
35 worked, before a drive dies and I'm caught off guard, again. I figured
36 it would be something simple that I just didn't notice.
37
38 Thanks much. :-D
39
40 Dale
41
42 :-) :-)