From 6e1908aac6db4e8111be89e98c98df0ef2424b9d Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 27 Apr 2023 13:17:10 -0500 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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