Re: SMART tool 6.4 -M test featur e is not working.
"Christian Franke" <[email protected]>
| Newsgroups | gmane.linux.utilities.smartmontools |
|---|---|
| Message-ID | <[email protected]> |
Shukla, Alok (GE Healthcare) wrote: > Can you please provide a sample smartd.conf file which could simulate the situation? > This smartd.conf works for me to send a test mail for the first physical drive: /dev/sda -a -m SOMEONE@SOMEWHERE -M test (Replace SOMEONE@SOMEWHERE with a valid local mail address) On Windows, this requires a properly configured blat.exe in the PATH (see http://www.blat.net/). Sample diagnostic output for above smartd.conf: ---- [C:\Program Files\smartmontools\bin] smartd -q onecheck smartd 6.4 2015-06-04 r4109 [x86_64-w64-mingw32-win7-sp1] (sf-6.4-1) ... Configuration file C:/Program Files/smartmontools/bin/smartd.conf parsed. Device: /dev/sda, opened Device: /dev/sda, WDC WD2003FYYS-18W0B0, S/N:..., FW:01.01D02, 2.00 TB Device: /dev/sda, found in smartd database: Western Digital RE4 Device: /dev/sda, is SMART capable. Adding to "monitor" list. Monitoring 1 ATA and 0 SCSI devices Executing test of <mail> to SOMEONE@SOMEWHERE ... Test of <mail> to SOMEONE@SOMEWHERE: successful Device: /dev/sda, opened ATA device ... Started with '-q onecheck' option. All devices sucessfully checked once. smartd is exiting (exit status 0) ---- On Windows only, this works for me to display a test warning message box on console desktop: /dev/sda -a -m console -M test This requires the wtssendmsg.exe tool which is part of smartmontools package. Regards, Christian ------------------------------------------------------------------------------