Re: SMART tool 6.4 -M test feature is not working.
"Shukla, Alok (GE Healthcare)" <[email protected]>
| Newsgroups | gmane.linux.utilities.smartmontools |
|---|---|
| Message-ID | <DEA137209BB6E745BCB66AF5C9EB5773127417C1@BANURBNA02.e2k.ad.ge.com> |
For /dev/sda -a -m console -M test If I include wtssendmsg.exe tool the popup appears for me too. But how does this work in real situations? If I include wtssendmsg.exe in smart package, and in real world situation SSD is about to fail, User will get a popup on the screen? Regards, -Alok -----Original Message----- From: Christian Franke [mailto:[email protected]] Sent: Thursday, October 01, 2015 3:53 PM To: Shukla, Alok (GE Healthcare) Cc: [email protected]; Nyamagoudar, Shreepathi (GE Healthcare); Bhat, Venu M (GE Healthcare) Subject: Re: [smartmontools-support] SMART tool 6.4 -M test feature is not working. 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 https://urldefense.proofpoint.com/v2/url?u=http-3A__www.blat.net_&d=BQICaQ&c=IV_clAzoPDE253xZdHuilRgztyh_RiV3wUrLrDQYWSI&r=8Bb6d4P20I3VcpRxkzja2S9YqCNRO92u-WEEm6Di4aM&m=Flg7DDegakuOGD6JK3IzzytGXhFJBULAY2kJFYmFGcw&s=VXUO51zY3awazh1uya8NdEKtbjEa-W-G0gk9IK8K2ww&e= ). 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 ------------------------------------------------------------------------------