From 69b05881008feb26a3642a0657b76c77ccd79fe6 Mon Sep 17 00:00:00 2001 From: anweshadas Date: Mon, 9 May 2022 08:58:51 +0200 Subject: Commnet out ping --- monitor.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3