1 |
Neil Bothwick wrote: |
2 |
> On Thu, 26 Jun 2014 09:14:39 -0500, Dale wrote: |
3 |
> |
4 |
>> Holy sheep. It worked. I lost my jaw yesterday I think it was. I'm |
5 |
>> not sure what I am going to be missing now. :-D Neil and Allan will so |
6 |
>> impressed. LOL |
7 |
>> |
8 |
>> OK. So, what will send me a message now? Do I need to tell it to send |
9 |
>> me something, say from smart stuff, or does it just know to do it? |
10 |
> You tell cron where to mail reports by setting MAILTO=you@wherever at the |
11 |
> top of /etc/crontab. It will then mail you every time a cronjob produces |
12 |
> output. |
13 |
> |
14 |
> |
15 |
|
16 |
Well, right now I am trying to get smartmon to send them since that is |
17 |
pretty important and I have a error at the moment to really test it. I |
18 |
think I am having some success here. I been googling and trying to sort |
19 |
this thing out. So far, I have this: |
20 |
|
21 |
/dev/sda -a -d sat -o on -S on -s (S/../.././02|L/../../6/12) -m root |
22 |
/dev/sdb -a -d sat -o on -S on -s (S/../.././02|L/../../6/12) -m root |
23 |
/dev/sdc -a -d sat -o on -S on -s (S/../.././02|L/../../6/12) -m root |
24 |
|
25 |
I changed it to testing during the day since I am usually sleeping then |
26 |
and up at night. Anyway, when I restart smartd, I get a email about the |
27 |
error. Yeppie!!!! What I would like tho, it to just know to do this |
28 |
for whatever drives are added/removed without me having to change the |
29 |
config. I bet there is a way to do that. |
30 |
|
31 |
Now, let me go check into that cron thing. Is there anything else I |
32 |
need to set up to send emails like this? Smartd is working, about to |
33 |
work on cron so what else usually tries to send a email? |
34 |
|
35 |
I have got to go find those body parts I am losing. |
36 |
|
37 |
Thanks much. |
38 |
|
39 |
Dale |
40 |
|
41 |
:-) :-) |