From ddc0d42eedd010dc926ffc43f79c1ac045827282 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gardais=20J=C3=A9r=C3=A9my?= Date: Mon, 24 Feb 2020 13:32:00 +0100 Subject: [PATCH] Use script name to detect plugin name on server --- xymon/plugins/client/ext/smart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xymon/plugins/client/ext/smart b/xymon/plugins/client/ext/smart index 813f607..c72b902 100755 --- a/xymon/plugins/client/ext/smart +++ b/xymon/plugins/client/ext/smart @@ -206,7 +206,7 @@ fi COLOR=$(< /tmp/dcheck awk '{print $1}' | sort | uniq | head -1 | cut -c3-) # Send informations to Xymon server -$XYMON "${XYMSRV}" "status ${MACHINE}.smart ${COLOR} SMART health check +$XYMON "${XYMSRV}" "status ${MACHINE}.${0} ${COLOR} SMART health check $(< /tmp/dcheck cut -c2-)