Closed sscargal closed 2 years ago
daxctl is already optional
# daxctl is optional
if [ ! -x "${DAXCTL}" ]; then
echo "ERROR: daxctl command not found!"
err_state=false
else
echo "Using DAXCTL command: ${DAXCTL}"
TOKENS=( $(${DAXCTL} version 2>&1 ) )
DAXCTL_VER=${TOKENS[-1]}
echo "DAXCTL version: ${DAXCTL_VER}"
fi
Make
daxctl
optional for the collector as it's not installed on all hosts by default and won't be useful for those using fsdax namespaces.