summaryrefslogtreecommitdiff
path: root/crypt-expiry-check.in
diff options
context:
space:
mode:
Diffstat (limited to 'crypt-expiry-check.in')
-rwxr-xr-xcrypt-expiry-check.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/crypt-expiry-check.in b/crypt-expiry-check.in
index 100ff0c..419222e 100755
--- a/crypt-expiry-check.in
+++ b/crypt-expiry-check.in
@@ -268,6 +268,11 @@ check_server_status() {
prints ${1} ${2} "Connection refused" "Unknown" | ${TEE} -a ${MAILOUT_TMP} >> ${STDOUT_TMP}
set_retcode 3
+ elif ${GREP} -iq "Network is unreachable" ${ERROR_TMP}
+ then
+ prints ${1} ${2} "Network is unreachable" "Unknown" | ${TEE} -a ${MAILOUT_TMP} >> ${STDOUT_TMP}
+ set_retcode 3
+
elif ${GREP} -iq "No route to host" ${ERROR_TMP}
then
prints ${1} ${2} "No route to host" "Unknown" | ${TEE} -a ${MAILOUT_TMP} >> ${STDOUT_TMP}