1 |
Raffaele BELARDI wrote: |
2 |
> Dale wrote: |
3 |
>> I went through this before and I haven't changed anything so not sure |
4 |
>> why it isn't working now. I decided to test smartd to make sure that it |
5 |
>> would send me a email if a drive developed a problem. I added -M test |
6 |
>> to the line, restarted smartd and got nothing. I mean nothing but |
7 |
>> crickets. Going to post relevant info that I know of. Here we go: |
8 |
> (snip) |
9 |
> |
10 |
>> When I check my email, I do get the test message. It seems to me that |
11 |
>> ssmtp is working but that smartd either isn't working or it is not |
12 |
>> getting to ssmtp somehow. |
13 |
>> |
14 |
>> Anyone see a reason this shouldn't be working? I'd really like a heads |
15 |
>> up if a drive is having "issues". |
16 |
>> |
17 |
> Any hints from the syslog? Here -M test seems to work fine. |
18 |
> |
19 |
> raffaele |
20 |
|
21 |
|
22 |
Sorry. I forgot to include that. This is from when I restart smartd. |
23 |
|
24 |
|
25 |
|
26 |
Aug 4 04:46:45 fireball smartd[3610]: smartd received signal 15: Terminated |
27 |
Aug 4 04:46:45 fireball smartd[3610]: smartd is exiting (exit status 0) |
28 |
Aug 4 04:46:45 fireball smartd[7526]: smartd 6.4 2015-06-04 r4109 |
29 |
[x86_64-linux-3.18.7-gentoo] (local build) |
30 |
Aug 4 04:46:45 fireball smartd[7526]: Copyright (C) 2002-15, Bruce |
31 |
Allen, Christian Franke, www.smartmontools.org |
32 |
Aug 4 04:46:45 fireball smartd[7526]: Opened configuration file |
33 |
/etc/smartd.conf |
34 |
Aug 4 04:46:45 fireball smartd[7526]: Drive: DEVICESCAN, implied '-a' |
35 |
Directive on line 27 of file /etc/smartd.conf |
36 |
Aug 4 04:46:45 fireball smartd[7526]: Configuration file |
37 |
/etc/smartd.conf was parsed, found DEVICESCAN, scanning devices |
38 |
Aug 4 04:46:45 fireball smartd[7526]: Device: /dev/sda, type changed |
39 |
from 'scsi' to 'sat' |
40 |
Aug 4 04:46:45 fireball smartd[7526]: Device: /dev/sda [SAT], opened |
41 |
Aug 4 04:46:45 fireball smartd[7526]: Device: /dev/sda [SAT], WDC |
42 |
WD1600AAJS-00YZCA0, S/N:WD-WCAYU4389620, WWN:5-0014ee-1ad79c1b3, |
43 |
FW:01.03B01, 160 GB |
44 |
Aug 4 04:46:45 fireball smartd[7526]: Device: /dev/sda [SAT], found in |
45 |
smartd database: Western Digital Caviar Blue Serial ATA |
46 |
Aug 4 04:46:46 fireball smartd[7526]: Device: /dev/sda [SAT], is SMART |
47 |
capable. Adding to "monitor" list. |
48 |
Aug 4 04:46:46 fireball smartd[7526]: Device: /dev/sdb, type changed |
49 |
from 'scsi' to 'sat' |
50 |
Aug 4 04:46:46 fireball smartd[7526]: Device: /dev/sdb [SAT], opened |
51 |
Aug 4 04:46:46 fireball smartd[7526]: Device: /dev/sdb [SAT], SAMSUNG |
52 |
HD753LJ, S/N:S1PWJ1KS305193, WWN:5-0024e9-001308c31, FW:1AA01117, 750 GB |
53 |
Aug 4 04:46:46 fireball smartd[7526]: Device: /dev/sdb [SAT], found in |
54 |
smartd database: SAMSUNG SpinPoint F1 DT |
55 |
Aug 4 04:46:46 fireball smartd[7526]: Device: /dev/sdb [SAT], is SMART |
56 |
capable. Adding to "monitor" list. |
57 |
Aug 4 04:46:46 fireball smartd[7526]: Device: /dev/sdc, type changed |
58 |
from 'scsi' to 'sat' |
59 |
Aug 4 04:46:46 fireball smartd[7526]: Device: /dev/sdc [SAT], opened |
60 |
Aug 4 04:46:46 fireball smartd[7526]: Device: /dev/sdc [SAT], |
61 |
ST3000DM001-1CH166, S/N:W1F4C31Q, WWN:5-000c50-06e7a0a7c, FW:CC29, 3.00 TB |
62 |
Aug 4 04:46:46 fireball smartd[7526]: Device: /dev/sdc [SAT], found in |
63 |
smartd database: Seagate Barracuda 7200.14 (AF) |
64 |
Aug 4 04:46:46 fireball smartd[7526]: Device: /dev/sdc [SAT], is SMART |
65 |
capable. Adding to "monitor" list. |
66 |
Aug 4 04:46:46 fireball smartd[7526]: Monitoring 3 ATA and 0 SCSI devices |
67 |
Aug 4 04:46:46 fireball smartd[7528]: smartd has fork()ed into |
68 |
background mode. New PID=7528. |
69 |
Aug 4 04:46:46 fireball smartd[7528]: file /run/smartd.pid written |
70 |
containing PID 7528 |
71 |
root@fireball / # |
72 |
|
73 |
|
74 |
It seems to start and begin monitoring but I don't see anything about it |
75 |
even trying to email anything. |
76 |
|
77 |
Thanks. |
78 |
|
79 |
Dale |
80 |
|
81 |
:-) :-) |