3 Replies Latest reply on Jul 17, 2017 2:41 PM by 911172

    bash script to check server URL or webpage and send an email alert

    911172

      Hi Experts,

       

      I am having a URL and I am checking its status from server as below,

       

      curl -Is http://xyz.xxx.com:8000/cg/jsp/somethingframe.jsp | head -n1

      HTTP/1.1 200 OK

       

      Please suggest, how I may get a bash script to check URL status and send an email notification.

       

      Thanks,

      Abdul