Use script name to detect plugin name on server
This commit is contained in:
parent
8efe91c0e8
commit
ddc0d42eed
|
@ -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-)
|
||||
|
||||
|
|
Loading…
Reference in New Issue