Files
gsmartcontrol/contrib/cron-based_noadmin
Alexander Shaduri af59a431b1 Tagging 0.8.4:
Linux Software RAID devices are blacklisted now. (backported from Debian).
    Attributes tab is before the capabilities tab now.
    A man page has been generously contributed by Giuseppe Iuculano
        <giuseppe@iuculano.it>.
    Smartctl version now includes the CVS snapshot date (if available).
    Windows: Look for "smartctl-nc.exe" instead of "smartctl.exe" by default.
    Windows: Use smartmontools-supplied smartctl-nc.exe by default (if found).
    Other minor changes (mainly Debian backports).
2010-12-26 19:47:20 +00:00
..
2010-12-26 19:47:20 +00:00
2010-12-26 19:47:20 +00:00
2010-12-26 19:47:20 +00:00
2010-12-26 19:47:20 +00:00

This directory contains scripts and an example crontab to allow GSmartControl
to read smartctl data from cron-generated files. This allows users to read
somewhat recent smartctl information without having to run GSmartControl as
root.

Put the scripts into /usr/local/bin, run GSmartControl and set smartctl path
to "/usr/local/bin/smartctl_subst.sh" (without quotes). An example crontab
runs cron_gather_smart.sh script every 10 minutes, storing its output to
"/var/run/smart-$devname". The smartctl_subst.sh script prints the contents of
this file instead of running smartctl, thus eliminating the need to run
GSmartControl as root when reading SMART values.

Note: These scripts provide read-only capabilities only, they don't allow
changing SMART settings or running self-tests.

Contributed by Alex Butcher <alex dot butcher 'at' assursys.co.uk>.