From f65e00b3c6d99221a4783c75d50a4df10f3cad52 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sat, 14 Mar 2015 15:42:22 +0000 Subject: [PATCH] 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. --- roles/gorynych.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 => { -- 2.39.5