Settings of Service S.M.A.R.T. does not update.

Status
Not open for further replies.

Janus Ng

Explorer
Joined
Apr 10, 2016
Messages
63
Due to the fact that the "/var/log/daemon.log" was spammed by the smart temperature messages, I had changed the Information field of the Service S.M.A.R.T. from "41" to "42" and keep the check internal to "5".

However, I have discovered that it has not effect. The daemon.log is still reporting temperature warning of 41 degree Celsius like
Code:
Apr 24 11:43:10 freenas smartd[2919]: Device: /dev/ada1, Temperature 41 Celsius reached limit of 41 Celsius (Min/Max 39/42)
Apr 24 11:43:10 freenas smartd[2919]: Device: /dev/ada1, Temperature 41 Celsius reached limit of 41 Celsius (Min/Max 39/42)
Apr 24 11:48:10 freenas smartd[2919]: Device: /dev/ada1, Temperature 41 Celsius reached limit of 41 Celsius (Min/Max 39/42)
Apr 24 11:48:11 freenas smartd[2919]: Device: /dev/ada1, Temperature 41 Celsius reached limit of 41 Celsius (Min/Max 39/42)
Apr 24 11:53:10 freenas smartd[2919]: Device: /dev/ada1, Temperature 41 Celsius reached limit of 41 Celsius (Min/Max 39/42)
Apr 24 11:53:10 freenas smartd[2919]: Device: /dev/ada1, Temperature 41 Celsius reached limit of 41 Celsius (Min/Max 39/42)
Apr 24 11:58:10 freenas smartd[2919]: Device: /dev/ada1, Temperature 41 Celsius reached limit of 41 Celsius (Min/Max 39/42)
Apr 24 11:58:10 freenas smartd[2919]: Device: /dev/ada1, Temperature 41 Celsius reached limit of 41 Celsius (Min/Max 39/42)


And the message always logged twice every check period. I dug a little further and found there are 2 files seem like related, "/etc/local/smartd.conf" and "/usr/local/etc/smartd.conf". They both have the same content
Code:
################################################
# smartd.conf generated by /etc/ix.rc.d/ix-smartd
################################################
/dev/ada0 -a -n never -W 0,41,45 -m janus.ng@gmail.com -M exec /usr/local/www/freenasUI/tools/smart_alert.py\
-s L/(01|02|03|04|05|06|07|08|09|10|11|12)/(20)/(1|2|3|4|5|6|7)/(03)\
 
/dev/ada0 -a -n never -W 0,41,45 -m janus.ng@gmail.com -M exec /usr/local/www/freenasUI/tools/smart_alert.py\
-s S/(01|02|03|04|05|06|07|08|09|10|11|12)/../(4)/(02)\
 
/dev/ada1 -a -n never -W 0,41,45 -m janus.ng@gmail.com -M exec /usr/local/www/freenasUI/tools/smart_alert.py\
-s L/(01|02|03|04|05|06|07|08|09|10|11|12)/(20)/(1|2|3|4|5|6|7)/(03)\
 
/dev/ada1 -a -n never -W 0,41,45 -m janus.ng@gmail.com -M exec /usr/local/www/freenasUI/tools/smart_alert.py\
-s S/(01|02|03|04|05|06|07|08|09|10|11|12)/../(4)/(02)\
 
/dev/ada2 -a -n never -W 0,41,45 -m janus.ng@gmail.com -M exec /usr/local/www/freenasUI/tools/smart_alert.py\
-s L/(01|02|03|04|05|06|07|08|09|10|11|12)/(20)/(1|2|3|4|5|6|7)/(03)\
 
/dev/ada2 -a -n never -W 0,41,45 -m janus.ng@gmail.com -M exec /usr/local/www/freenasUI/tools/smart_alert.py\
-s S/(01|02|03|04|05|06|07|08|09|10|11|12)/../(4)/(02)\
 
/dev/ada3 -a -n never -W 0,41,45 -m janus.ng@gmail.com -M exec /usr/local/www/freenasUI/tools/smart_alert.py\
-s L/(01|02|03|04|05|06|07|08|09|10|11|12)/(20)/(1|2|3|4|5|6|7)/(03)\
 
/dev/ada3 -a -n never -W 0,41,45 -m janus.ng@gmail.com -M exec /usr/local/www/freenasUI/tools/smart_alert.py\
-s S/(01|02|03|04|05|06|07|08|09|10|11|12)/../(4)/(02)\



I have tried to update the values in Service S.M.A.R.T. but it did not update either of these files.

I have 3 questions.
  1. How to fix the GUI of Service S.M.A.R.T.?
  2. Where does it save to?
  3. How to eliminate the duplicated log messages?

I have attached a screenshot of the current values of the Service S.M.A.R.T.
 

Attachments

  • Screen Shot 2018-04-24 at 12.40.20 PM.png
    Screen Shot 2018-04-24 at 12.40.20 PM.png
    83.1 KB · Views: 237
Last edited:
Status
Not open for further replies.
Top