Update nodemgmt-scripts.sh
This commit is contained in:
@@ -655,7 +655,7 @@ LISTCERTS(){
|
||||
echo
|
||||
echo -e "${idsCL[LightGreen]}Current Certificates on Node...${idsCL[Default]}"
|
||||
DIVIDER false yellow 100
|
||||
echo -e "Subject Name Monitored Expires Alternate Subject Names"
|
||||
echo -e "Subject Name Monitored Expires Alternate Subject Names"
|
||||
DIVIDER false yellow 100
|
||||
|
||||
for certdir in $(</tmp/ssllist); do
|
||||
@@ -682,14 +682,8 @@ LISTCERTS(){
|
||||
|
||||
if [ "${CHECKCERT_DOMAINS[${SUBJECT}]}" = "" ]; then
|
||||
monitored='No '
|
||||
# SUBJECT_DISP="${SUBJECT}"
|
||||
# until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
|
||||
else
|
||||
monitored='Yes'
|
||||
# SUBJECT_DISP="${idsBG[Cyan]}${idsCL[White]}${SUBJECT}${idsBG[Default]}${idsCL[Cyan]}"
|
||||
# spc="${idsBG[Cyan]}"
|
||||
# until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
|
||||
# spc="${spc}${idsBG[Default]}${idsCL[Cyan]}"
|
||||
monitored='${idsCL[Green]}Yes${idsCL[Default]}'
|
||||
fi
|
||||
if [ ${#SUBJECT_NAMES[@]} -lt 4 ]; then
|
||||
echo -e "${idsCL[Cyan]}${SUBJECT}${idsCL[Default]}${spc}${monitored} ${date} ${SUBJECTNAMES}"
|
||||
|
||||
Reference in New Issue
Block a user