HD Sentinel how to guide?

LucP

Dabbler
Joined
Apr 20, 2019
Messages
13
HD Sentinel seems to work with FreeNAS and FreeBSD systems but the instructions are not very easy to follow. Is there a how to for dummies you can can point me to? The instructions from below are very clear and detailed but I need something written for dummies....

I created a dedicated user "hds" with a home directory (sh), and using the shell from the web interface, su to the user. Smartctl seems to be located in /usr/local/sbin/smartctl and with -h parameter it looks like it does run. Verified that /mnt/zpool_name/hds directory can be written to as user hds.

but the options listed in the instructions do not seem to work as expected. The following is from the HDSentinel instructions:

-----------

Alternative Status Sources​

To monitor network attached storage where Hard Disk Sentinel is not available (for example on FreeBSD / FreeNAS systems) it is possible to use smartctl tool to export disk status information and use it as status source for Hard Disk Sentinel Professional.

For this, after logging in to the device with SSH, please configure this command as scheduled task:

/usr/sbin/smartctl -r ataioctl,2 -d sat -a /dev/sda > /shared/smartsda.txt

This creates smartsda.txt file in the /shared folder (assuming that it is shared - but you may use cat /etc/samba/smb.conf to find out the folder which is available over the network about /dev/sda device. The important is to keep the -r ataioctl,2 section as this enables logging of "raw" disk information (identification and self-monitoring data) which is not processed/translated/interpreted in any ways. You may need to modify the device name (/dev/sda), the device detection method (-d sat) too. Plus you'll need to create different schedule for each of the device(s) you prefer to monitor and add all such status sources one-by-one into Hard Disk Sentinel Professional.

Depending on the actual system, smartctl may be located in different folder, for example /usr/local/modules/bin/smartctl or something else. Using find / -name "smartctl" command may help to find the tool.

The benefit of this method is that it is not required to download any software, just use the available smartctl for detection. However it may be not as flexible or useful - so where possible, is is better to use Hard Disk Sentinel instead because there are many benefits:
-----------------

While the dashboard in TrueNAS-13.0-U3.1 is very nice, with 10+ drives attached I cannot see at a glance the current and max temps for all drivers (health % would also be nice to have). Pool Status screen has just a couple of columns with plenty of room left for additional info, but I cannot find any knobs to tweak so the disk temp and disk health get displayed as well. Disk/Status does not have the temp and disk health available as columns to add to the monitor.

Disk temp information is available in TrueNAS, but Reporting/Disk requires scroll up/down to see the temp for all the drives. HD Sentinel does offer "at
at a glance" temperatures for all the disks - if there is any other way to get the info I am looking for, please share.

Thank you!
 
Top