diff --git a/sm5/smartd.c b/sm5/smartd.c index 675f7a74146b04d406f3c358451a007b54893aed..162e0cfd46cab902da78fbc9daeffabc0ecfee3e 100644 --- a/sm5/smartd.c +++ b/sm5/smartd.c @@ -37,7 +37,7 @@ #include "ataprint.h" extern const char *CVSid1, *CVSid2; -const char *CVSid3="$Id: smartd.c,v 1.17 2002/10/24 09:54:02 ballen4705 Exp $" +const char *CVSid3="$Id: smartd.c,v 1.18 2002/10/24 09:57:55 ballen4705 Exp $" CVSID1 CVSID4 CVSID7; int daemon_init(void){ @@ -242,7 +242,8 @@ int ataCheckDevice( atadevices_t *drive){ // See if any vendor attributes are below minimum, and print them out if ((failed=ataCheckSmart(tempsmartval,tempsmartthres,1))){ ataPrintSmartAttribName(attributename,failed); - printout(LOG_CRIT,"Device: %s, Failed attribute: %s\n",drive->devicename,attributename); + printout(LOG_CRIT,"Device: %s, Failed attribute: %s. Use smartctl -v to investigate.\n", + drive->devicename,attributename); } // WHEN IT WORKS, we should here add a call to ataSmartStatus2() diff --git a/sm5/smartd.cpp b/sm5/smartd.cpp index 513cb7dacd41740bc8b4c3adca5d21c45c5d2a8c..9c6ef7d0a36886cb8685222b3e05a870dad56600 100644 --- a/sm5/smartd.cpp +++ b/sm5/smartd.cpp @@ -37,7 +37,7 @@ #include "ataprint.h" extern const char *CVSid1, *CVSid2; -const char *CVSid3="$Id: smartd.cpp,v 1.17 2002/10/24 09:54:02 ballen4705 Exp $" +const char *CVSid3="$Id: smartd.cpp,v 1.18 2002/10/24 09:57:55 ballen4705 Exp $" CVSID1 CVSID4 CVSID7; int daemon_init(void){ @@ -242,7 +242,8 @@ int ataCheckDevice( atadevices_t *drive){ // See if any vendor attributes are below minimum, and print them out if ((failed=ataCheckSmart(tempsmartval,tempsmartthres,1))){ ataPrintSmartAttribName(attributename,failed); - printout(LOG_CRIT,"Device: %s, Failed attribute: %s\n",drive->devicename,attributename); + printout(LOG_CRIT,"Device: %s, Failed attribute: %s. Use smartctl -v to investigate.\n", + drive->devicename,attributename); } // WHEN IT WORKS, we should here add a call to ataSmartStatus2()