certcheck
This commit is contained in:
@@ -1199,9 +1199,9 @@ CHECK-CERTS(){
|
||||
echo "${HOST} - SSL is not valid"
|
||||
SENDNOTICE "SSL Not Valid" "The (${HOST}) SSL is not valid" 1
|
||||
|
||||
elif [ ${CERTDAYS} -lt 20 ]; then
|
||||
elif [ ${CERTDAYS} -lt 1 ]; then
|
||||
echo "$HOST SSL Expired!"
|
||||
SENDNOTICE "SSL Expired" "The (${HOST}) SSL is expiring in ${CERTDAYS} days" 2
|
||||
SENDNOTICE "SSL Expired" "The (${HOST}) SSL is expired!! (${CERTDAYS} days)" 2
|
||||
|
||||
elif [ ${CERTDAYS} -lt 30 ]; then
|
||||
echo "$HOST SSL is expiring in $CERTDAYS days!"
|
||||
|
||||
Reference in New Issue
Block a user