|
From: Christian F. <Chr...@t-...> - 2016-02-15 06:37:23
|
Wybren Buijs wrote: > Sorry I would like to us the track app but I dont seem to get a working > account. > > When I fill in multiple email space separated addresses in the > smartd.conf only the first address gets an email. > Making it comma separated does not fix it. > Its not the mail client having problems with comma or space separated. > It works with both when I run > /usr/bin/mail -s "SMART errors detected on host: `hostname`" ma...@bl... > ma...@bl... < mailtest > When It does not work no errors show in the mail logs. So I don't even > thinks it gets as far as mailing. > > My syslogs > ... > Feb 12 16:16:28 jop77 smartd[26328]: Executing test of > /usr/share/smartmontools/smartd-runner to bl...@gm... bl...@ji... ... > Feb 12 16:16:28 jop77 smartd[26328]: Test of > /usr/share/smartmontools/smartd-runner to wyb...@gm... > bu...@ji...: successful > This suggests that smartd runs the script "/usr/share/smartmontools/smartd-runner" properly. It is specified in smartd.conf by "-M exec" directive. If "-M exec" is used, the script is responsible for sending mail. The script is not part of upstream smartmontools code but part of the Debian (and Ubuntu) smartmontools packages. Thanks, Christian |