Update nodemgmt-scripts.sh
This commit is contained in:
@@ -631,20 +631,20 @@ CHECK-CERTS(){
|
|||||||
SERVERFILE=/opt/idssys/nodemgmt/ssldomains
|
SERVERFILE=/opt/idssys/nodemgmt/ssldomains
|
||||||
source /opt/idssys/nodemgmt/ssl-check.sh
|
source /opt/idssys/nodemgmt/ssl-check.sh
|
||||||
|
|
||||||
print_heading
|
# print_heading
|
||||||
IFS=$'\n'
|
# IFS=$'\n'
|
||||||
for LINE in `egrep -v '(^#|^$)' ${SERVERFILE}`; do
|
# for LINE in `egrep -v '(^#|^$)' ${SERVERFILE}`; do
|
||||||
HOST=${LINE%% *}
|
# HOST=${LINE%% *}
|
||||||
PORT=${LINE#* }
|
# PORT=${LINE#* }
|
||||||
IFS=" "
|
# IFS=" "
|
||||||
if [ "$PORT" = "FILE" ]; then
|
# if [ "$PORT" = "FILE" ]; then
|
||||||
check_file_status ${HOST} "FILE" "${HOST}"
|
# check_file_status ${HOST} "FILE" "${HOST}"
|
||||||
else
|
# else
|
||||||
check_server_status "${HOST}" "${PORT}"
|
# check_server_status "${HOST}" "${PORT}"
|
||||||
fi
|
# fi
|
||||||
done
|
# done
|
||||||
IFS=${OLDIFS}
|
# IFS=${OLDIFS}
|
||||||
print_summary
|
# print_summary
|
||||||
}
|
}
|
||||||
|
|
||||||
BACKUP(){
|
BACKUP(){
|
||||||
|
|||||||
Reference in New Issue
Block a user