From 3fe298f961b834b42432694ed83196a89543806e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gardais=20J=C3=A9r=C3=A9my?= Date: Mon, 16 Mar 2020 17:55:20 +0100 Subject: [PATCH] Add a pattern for unsupported logging of self-test --- xymon/plugins/client/ext/smartoverall | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xymon/plugins/client/ext/smartoverall b/xymon/plugins/client/ext/smartoverall index 5dd4331..dfba590 100755 --- a/xymon/plugins/client/ext/smartoverall +++ b/xymon/plugins/client/ext/smartoverall @@ -220,7 +220,7 @@ https://www.smartmontools.org/wiki/FAQ#SmartmontoolsDatabase" DSELFTEST_MSG="&red No self-tests recorded:" DCODE="8" ## If the device doesn't support test logging - elif smartctl -d "${TYPE}" -l selftest "${DISK}" | grep -qEi -- "does not support.*logging"; then + elif smartctl -d "${TYPE}" -l selftest "${DISK}" | grep -qEi -- "(does not support.*logging|Log not supported)"; then DSELFTEST_MSG="&clear Test logging are not supported:" else DSELFTEST_MSG=""