/
/
/
1# smartd.conf
2# Configuration file for smartd
3# Generated by Ansible NAS role
4
5# Global settings
6{% if nas_email_notifications != "" %}
7-M exec /usr/share/smartmontools/smartd-runner
8{% endif %}
9
10# Monitor all devices
11DEVICESCAN -a -o on -S on -s (S/../.././02|L/../../6/03) {% if nas_email_notifications != "" %}-m {{ nas_email_notifications }}{% endif %}
12
13# Example for specific device monitoring:
14# /dev/sda -a -d sat -o on -S on -s (S/../.././02|L/../../6/03) -m root
15# /dev/sdb -a -d sat -o on -S on -s (S/../.././02|L/../../6/03) -m root
16
17# Temperature monitoring (if supported)
18# /dev/sda -a -d sat -W 4,35,40 -m root
19# /dev/sdb -a -d sat -W 4,35,40 -m root