From: Silvio Rhatto Date: Fri, 28 Mar 2014 16:50:26 +0000 (-0300) Subject: Adding ping response into whereis action X-Git-Tag: 0.2.2~36 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=b1d8847cfacf2a6a214cf5e5b90e961046787f34;p=hydra.git Adding ping response into whereis action --- diff --git a/share/hydra/whereis b/share/hydra/whereis index ec34e34..c5af517 100755 --- a/share/hydra/whereis +++ b/share/hydra/whereis @@ -90,3 +90,10 @@ if which geoiplookup &> /dev/null; then echo "" geoiplookup $LAYER.$DOMAIN fi + +# Service status +echo "" +echo "Ping response" +echo "----------------------------------------------------------------------------------" +echo "" +ping -q -n -c 1 $LAYER.$DOMAIN | tail -n 2