====== smartmontools ======
''apt-get install smartmontools mailutils''
''/etc/postfix/main.cf''
#inet_interfaces = all
inet_interfaces = localhost
''service postfix restart''
''netstat -alnptu''
''/etc/smartd.conf''
#DEVICESCAN -d removable -n standby -m root -M exec /usr/share/smartmontools/smartd-runner
/dev/sda -a -I 194 -W 4,45,55 -R 5 -m admin@irnix.ru -o on -S on -s (S/../.././22|L/../../6/23)
/dev/sdb -a -I 194 -W 4,45,55 -R 5 -m admin@irnix.ru -o on -S on -s (S/../.././22|L/../../6/23)
''/etc/default/smartmontools''
start_smartd=yes
{{tag> linux smartmontools }}