summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoranweshadas <anwesha@das.community>2022-05-09 08:58:51 +0200
committeranweshadas <anwesha@das.community>2022-05-09 08:58:51 +0200
commit69b05881008feb26a3642a0657b76c77ccd79fe6 (patch)
tree13ee6c760a7e2ba8f9cf1be3ad604f075233a0f6
parent43bef83d905d2ecf127684715ee7b1dda9124c87 (diff)
Commnet out pinganwesha/monitoring_code
-rw-r--r--monitor.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor.sh b/monitor.sh
index c7573a6..bc274a8 100644
--- a/monitor.sh
+++ b/monitor.sh
@@ -15,7 +15,7 @@ echo $url #this is for testing purpose. To be removed in thhe final code.
# 2. Check if we can ping the ip address
ip_address=$(dig +short $domain_name)
echo $dig_response #this is for testing purpose. To be removed in thhe final code.
- ping_response=$(ping $ip_address)
+ #ping_response=$(ping $ip_address)
else
echo $url is working. status_code $http_code
fi