From: Tom Hughes Date: Sat, 14 Mar 2015 15:42:22 +0000 (+0000) Subject: Increase smart warning threshold for SSDs on gorynych X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/f65e00b3c6d99221a4783c75d50a4df10f3cad52 Increase smart warning threshold for SSDs on gorynych The SSDs in gorynych are a bit mad and refuse to report any threshold values for any attributes, so don't allow that error to trigger a smart warning but do still allow a smart failure report to trigger one. --- diff --git a/roles/gorynych.rb b/roles/gorynych.rb index 9cef67340..4bccc2a91 100644 --- a/roles/gorynych.rb +++ b/roles/gorynych.rb @@ -2,6 +2,16 @@ name "gorynych" description "Master role applied to gorynych" default_attributes( + :munin => { + :plugins => { + :smart_sdc => { + :smartctl_exit_status => { :warning => ":8" } + }, + :smart_sdd => { + :smartctl_exit_status => { :warning => ":8" } + } + } + }, :networking => { :interfaces => { :external_ipv4 => {