SMART's default WebGUI options allow you to only set a single temperature for difference, informationl, and critical.
Critical will send you an email, and for situations like a FreeNAS Mini this could get annoying. The 4 disks installed in the bays stay cool, but the built-in SATA DOM can often exceed the recommended temperatures. Of course, getting regular alarms because your SATA DOM is over the limit you set for the rotating disks (which should be no higher than 40C) can be a pain. Here's how you fix that....
1. Set the difference, informational, and critical to zero.
2. Go to Storage -> Volumes -> View Disks (applies to 9.2.1.x and the options exist elsewhere for other versions of FreeNAS). Click on the disk you want to control and then click edit.
3. Set the SMART extra options as explained below:
The -W parameter is for temperatures, which are then 3 numbers separated by commas like above. The order is Difference, Informational, and Critical.
In the picture above I set my drive to 0 degrees for Difference and Informational but I will get an email for Critical at 37C.
This obviously will only work for hardware that properly works with SMART. If you are using any kind of RAID controller in an IR mode you likely will not be able to use this anyway.
Note that both the 0,0,0 from the SMART parameters is passed but your extra options will override those values.
So what does this do "behind the scenes"? Here's the output of my /etc/local/smartd.conf file:
Critical will send you an email, and for situations like a FreeNAS Mini this could get annoying. The 4 disks installed in the bays stay cool, but the built-in SATA DOM can often exceed the recommended temperatures. Of course, getting regular alarms because your SATA DOM is over the limit you set for the rotating disks (which should be no higher than 40C) can be a pain. Here's how you fix that....
1. Set the difference, informational, and critical to zero.
2. Go to Storage -> Volumes -> View Disks (applies to 9.2.1.x and the options exist elsewhere for other versions of FreeNAS). Click on the disk you want to control and then click edit.
3. Set the SMART extra options as explained below:
The -W parameter is for temperatures, which are then 3 numbers separated by commas like above. The order is Difference, Informational, and Critical.
In the picture above I set my drive to 0 degrees for Difference and Informational but I will get an email for Critical at 37C.
This obviously will only work for hardware that properly works with SMART. If you are using any kind of RAID controller in an IR mode you likely will not be able to use this anyway.
Note that both the 0,0,0 from the SMART parameters is passed but your extra options will override those values.
So what does this do "behind the scenes"? Here's the output of my /etc/local/smartd.conf file:
Code:
################################################ # smartd.conf generated by /etc/rc.d/ix-smartd ################################################ /dev/ada0 -a -n never -W 0,0,0 -m my@email.com -W 0,0,37 /dev/ada0 -a -n never -W 0,0,0 -m my@email.com -W 0,0,37