]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/hardware/templates/default/smartd.conf.erb
Add local implementation of cciss-vol-statusd
[chef.git] / cookbooks / hardware / templates / default / smartd.conf.erb
index 5dea481bc96a1f0935b4bd86927702fe27f3ae0e..640cd27a9bc986c3a3dfdf35f3df58205964218c 100644 (file)
@@ -2,8 +2,8 @@
   
 <% @disks.each do |disk| -%>
 <% if disk[:smart] -%>
-/dev/<%= disk[:device] %> -d <%= disk[:smart] %> -s S/../../7/02 -m admins@openstreetmap.org -M exec /usr/local/bin/smartd-mailer
+/dev/<%= disk[:device] %> -d <%= disk[:smart] %> -s (L/../../5/23|S/../.././01) -n standby -m admins@openstreetmap.org -M exec /usr/local/bin/smartd-mailer
 <% else -%>
-/dev/<%= disk[:device] %> -s S/../../7/02 -m admins@openstreetmap.org -M exec /usr/local/bin/smartd-mailer
+/dev/<%= disk[:device] %> -s (L/../../5/23|S/../.././01) -n standby -m admins@openstreetmap.org -M exec /usr/local/bin/smartd-mailer
 <% end -%>
 <% end -%>