AppWorx, Dollar Universe and Sysload Community

 View Only
  • 1.  Ping URL from UC4

    Posted Jun 07, 2019 08:44 AM
    I have an Requirement to Ping a Dynamic URL through UC4. What is the Best way to Ping an URL

    #automicwork #automicwebinterface #caautomicworkloadautomation #restapiwebservice​​​​​

  • 2.  RE: Ping URL from UC4

    Posted Jun 12, 2019 05:08 AM
    Edited by Carsten Schmitz Jun 13, 2019 04:33 AM
    ​You don't ping URLs. You ping IP addresses or host names that then get resolved into IP addresses by means of DNS.

    Automic has no built-in facilities for either. You can use the OS ping command from a JOBS to ping any IP address or hostname you can reach via network means (i.e. ICMP not firewalled). If you want to monitor URLs, you can use text-based tools such as wget or curl (stock in Linux, downloadable for Windows), then evaluate return codes or REST replies via return codes, also from an Automic JOBS.


  • 3.  RE: Ping URL from UC4
    Best Answer

    Posted Jun 20, 2019 04:09 PM
    No need to install curl or wget on Windows ;-)

    Test-NetConnection -Computername <hostname> -Port <port>

    ..or for the web:

  • 4.  RE: Ping URL from UC4

    Posted Jul 31, 2019 02:58 PM
    Edited by boston_019 Jul 31, 2019 03:08 PM

    Comment deleted, I fixed it. (Not OP btw).