Find the answer to your Linux question:
Results 1 to 2 of 2
Hello, To get information about my HDD drive condition, I configured smartmontools daemon (through smartd.conf) like this: dev/sdb -I 194 -a -o on -S on -s (S/../.././03|L/../../6/04) \ -m sys@basicstaff.x ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2009
    Posts
    1

    Receiving email notification from smartd (smartmontools)


    Hello,

    To get information about my HDD drive condition, I configured smartmontools daemon (through smartd.conf) like this:


    dev/sdb -I 194 -a -o on -S on -s (S/../.././03|L/../../6/04) \
    -m sys@basicstaff.x \
    -M exec /usr/share/smartmontools/smartd-runner


    Also, by adding “-M test”, I tested email notifications and received test email message.

    As you see, each morning my HDD is short tested, but I didn’t receive any email notification about test results.

    Probably, notifications are sent when something is getting wrong, am I right on this point? I mean, is it normal not to receive anything if tests are passed ok?

    Right now my drive reports OK status with “smartctl -H” command. I use Debian Etch and Sendmail.

    Thanks a lot.

  2. #2
    Linux Guru
    Join Date
    Nov 2007
    Posts
    1,760
    Google

    Code:
    S/../.././19 = short test every day at 19:00
    C/../.././20 = conveyance test every day at 20:00
    L/../../3/21 = long test every wednesday (3) at 21:00
    -m root = root will be emailed if anything strange occurs

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •