Howdy,

I have somethimes warnings like this below, and some others like temperature change, that are not send any email when this happens.

How to make it send the email on this events?

 

Jul  7 10:48:02 lira smartd[3576]: Device: /dev/sdb, SMART Prefailure Attribute: 8 Seek_Time_Performance changed from 244 to 245

 

 

My smartd.conf only has this for auto-detection:

 

DEVICESCAN -a -m dns@email.com -M exec /usr/share/smartmontools/smartd-runner

 

Smartd-runner script has:

 

lira:/etc# cat /usr/share/smartmontools/smartd-runner

#!/bin/bash -e

 

tmp=$(tempfile)

cat >$tmp

 

run-parts --report --lsbsysinit --arg=$tmp --arg="$1" \

    --arg="$2" --arg="$3" -- /etc/smartmontools/run.d

 

rm -f $tmp