Proxmox and SMARTD

emanuelebruno

Renowned Member
May 1, 2012
143
7
83
Catania
emanuelebruno.it
Hi to all,
few days ago I have bought a new server from OVH with 2x2TB sata drives within PROXMOX 3.3 in raid 1 (software raid); I'm very happy because all the procedure for the configuration of the server was done from ovh (even software raid!).

Now I want to configure smartd so I have done the following steps:

nano /etc/default/smartmontools
Code:
enable_smart="/dev/sda /dev/sdb"sta
start_smartd=yes 
smartd_opts="--interval=1800"

nano /etc/smartd.conf
Code:
/dev/sda -m emanuelebruno@ilmioindirizzo.com -M test
/dev/sdb -m emanuelebruno@ilmioindirizzo.com -M test

/etc/init.d/smartmontools start

But the email test has not been sent after starting the service. I have tryed to send and email from the command line and it works:
mail -s "Hello World" emanuelebruno@ilmioindirizzo.com

Is there anybody can help me?
Have you any advice to configure smartd.conf file ?
 
Hi,
try to find some logs in MTA like exim or postfix.

Anyway, I just put this line found on internet to smartd.conf, it also runs some automatic tests on all drives on weekends

DEVICESCAN -d removable -n standby -m desired@email.com -M exec /usr/share/smartmontools/smartd-runner -s (S/../.././02|L/../../6/03)