diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 95a02754..681ed310 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1195,15 +1195,15 @@ CHECK-CERTS(){ CERTVALID=${CERTVALID: -1} CERTDAYS=${CERTINFO#*days=} if [ "${CERTVALID}" == "0" ] || [ "${CERTVALID}" == "E" ]; then - printf "%-25s: %s\n" "${HOST}" "SSL is not valid" + printf "%-30s: %s\n" "${HOST}" "SSL is not valid" SENDNOTICE "SSL Not Valid" "The (${HOST}) SSL is not valid" 1 elif [ ${CERTDAYS} -lt 1 ]; then - printf "%-25s: %s\n" "${HOST}" "SSL Expired! (${CERTDAYS} days)" + printf "%-30s: %s\n" "${HOST}" "SSL Expired! (${CERTDAYS} days)" SENDNOTICE "SSL Expired" "The (${HOST}) SSL is expired!! (${CERTDAYS} days)" 2 elif [ ${CERTDAYS} -lt 30 ]; then - printf "%-25s: %s\n" "${HOST}" "SSL is expiring in $CERTDAYS days!" + printf "%-30s: %s\n" "${HOST}" "SSL is expiring in $CERTDAYS days!" SENDNOTICE "SSL Expiring" "The (${HOST}) SSL is expiring in ${CERTDAYS} days" 1 else