OPNsense Forum

Archive => 23.7 Legacy Series => Topic started by: tdalej on January 25, 2024, 02:25:48 PM

Title: smartmontools on 23.7.12
Post by: tdalej on January 25, 2024, 02:25:48 PM
When installing the os-smart plugin to monitor drive health, the message below is displayed.

There is no /etc/periodic.conf file.
Just daily, weekly, etc, directories in /etc/periodic 

Should this file be created or should an entry in the appropriate period be created?


QuoteMessage from smartmontools-7.4_1:

--
smartmontools has been installed

To check the status of drives, use the following:

   /usr/local/sbin/smartctl -a /dev/ad0   for first ATA/SATA drive
   /usr/local/sbin/smartctl -a /dev/da0   for first SCSI drive
   /usr/local/sbin/smartctl -a /dev/ada0   for first SATA drive

To include drive health information in your daily status reports,
add a line like the following to /etc/periodic.conf:
   daily_status_smart_devices="/dev/ad0 /dev/da0"
substituting the appropriate device names for your SMART-capable disks.

To enable drive monitoring, you can use /usr/local/sbin/smartd.
A sample configuration file has been installed as
/usr/local/etc/smartd.conf.sample
Copy this file to /usr/local/etc/smartd.conf and edit appropriately

To have smartd start at boot
   echo 'smartd_enable="YES"' >> /etc/rc.conf
Title: Re: smartmontools on 23.7.12
Post by: Patrick M. Hausen on January 25, 2024, 02:29:52 PM
See
(https://forum.opnsense.org/index.php?action=dlattach;topic=38351.0;attach=32579;image)