Re: Bug with multiple email addresses
Christian Franke <[email protected]> Mon, 15 Feb 2016 07:37:10 +0100
| Newsgroups | gmane.linux.utilities.smartmontools |
|---|---|
| Message-ID | <[email protected]> |
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`" [email protected] > [email protected] < 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 [email protected] [email protected] ... > Feb 12 16:16:28 jop77 smartd[26328]: Test of > /usr/share/smartmontools/smartd-runner to [email protected] > [email protected]: 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 ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140