From 3258881a0f7d7ae587c2be0c3dc0c5e75f1ccc91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gardais=20J=C3=A9r=C3=A9my?= Date: Thu, 20 Feb 2020 15:37:50 +0100 Subject: [PATCH] Add info if the type/device isn't supported --- xymon/plugins/client/ext/smart | 1 + 1 file changed, 1 insertion(+) diff --git a/xymon/plugins/client/ext/smart b/xymon/plugins/client/ext/smart index 9a186bf..775b3d5 100755 --- a/xymon/plugins/client/ext/smart +++ b/xymon/plugins/client/ext/smart @@ -100,6 +100,7 @@ while IFS= read -r LINE; do [ "${debug}" -eq "0" ] && printf "${c_magentab}%-6b${c_reset}\n" "DEBUG : SMART is not fully supported." DRES=$(printf '%s' "${SMART_SUPPORT_MSG}") DCODE="2" + TYPE="unsupported" else [ "${debug}" -eq "0" ] && printf "${c_magentab}%-6b${c_reset}\n" "DEBUG : SMART seems fully supported, proceed normally." ### Get SMART Health Status and return code