{"id":913,"date":"2019-08-01T06:00:34","date_gmt":"2019-08-01T06:00:34","guid":{"rendered":"http:\/\/buklijas.info\/blog\/?p=913"},"modified":"2019-07-31T18:22:02","modified_gmt":"2019-07-31T18:22:02","slug":"http-ping","status":"publish","type":"post","link":"http:\/\/buklijas.info\/blog\/2019\/08\/01\/http-ping\/","title":{"rendered":"HTTP ping"},"content":{"rendered":"

Published on:<\/strong> 01.08.2019<\/p>\n

ping<\/a> is a great tool to check if some computer<\/strong>\/server\/router\/camera (any IP addressable device) is online<\/strong>.<\/p>\n

For me, it is useful when restarting the virtual machine and using ping with -t flag for constant checking<\/strong> when a machine is online so that I can check if everything is working as it should.<\/p>\n

Just to get some context, at that time one of my responsibility was for 120 virtual machines in one organization.<\/p>\n

Some virtual machine where web servers, although ping was useful for me to know when a machine is back online, but would be more useful is to know when the web-page is online<\/strong>.<\/p>\n

That got me thing, that it would be great if I had some kind of ping for HTTP<\/strong>.<\/p>\n

Luckily it exists and it is called httping<\/a>.<\/p>\n

If you use Chocolatey<\/a> installation is easy with choco install httping<\/code>.<\/p>\n

From my experience httping is working fine, as expected<\/strong>.<\/p>\n

Only issues that I have found is that often web server is online, even a few minutes before the web-page that I need is online.<\/p>\n

This is not a problem of httping, normally web-server is online before the web-page<\/strong>, especially is web-page is some complex web application.<\/p>\n

Next step would be to find some httping tool with grep capability<\/strong>.<\/p>\n

I could build that toll myself probably in a few hours (with Python<\/a>), but currently, there is no cost-benefit<\/a> for my use-case.<\/p>\n

If you know some tool with those features, feel free to leave a comment.<\/p>\n","protected":false},"excerpt":{"rendered":"

Published on: 01.08.2019 ping is a great tool to check if some computer\/server\/router\/camera (any IP addressable device) is online. For me, it is useful when restarting the virtual machine and using ping with -t flag for constant checking when a machine is online so that I can check if everything is working as it should. […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false},"categories":[27],"tags":[61,60],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"yoast_head":"\nHTTP ping - Sasa Buklijas<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/buklijas.info\/blog\/2019\/08\/01\/http-ping\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"HTTP ping - Sasa Buklijas\" \/>\n<meta property=\"og:description\" content=\"Published on: 01.08.2019 ping is a great tool to check if some computer\/server\/router\/camera (any IP addressable device) is online. For me, it is useful when restarting the virtual machine and using ping with -t flag for constant checking when a machine is online so that I can check if everything is working as it should. […]\" \/>\n<meta property=\"og:url\" content=\"http:\/\/buklijas.info\/blog\/2019\/08\/01\/http-ping\/\" \/>\n<meta property=\"og:site_name\" content=\"Sasa Buklijas\" \/>\n<meta property=\"article:published_time\" content=\"2019-08-01T06:00:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-07-31T18:22:02+00:00\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\">\n\t<meta name=\"twitter:data1\" content=\"Sasa Buklijas\">\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\">\n\t<meta name=\"twitter:data2\" content=\"1 minute\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"http:\/\/buklijas.info\/blog\/#website\",\"url\":\"http:\/\/buklijas.info\/blog\/\",\"name\":\"Sasa Buklijas\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"http:\/\/buklijas.info\/blog\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/buklijas.info\/blog\/2019\/08\/01\/http-ping\/#webpage\",\"url\":\"http:\/\/buklijas.info\/blog\/2019\/08\/01\/http-ping\/\",\"name\":\"HTTP ping - Sasa Buklijas\",\"isPartOf\":{\"@id\":\"http:\/\/buklijas.info\/blog\/#website\"},\"datePublished\":\"2019-08-01T06:00:34+00:00\",\"dateModified\":\"2019-07-31T18:22:02+00:00\",\"author\":{\"@id\":\"http:\/\/buklijas.info\/blog\/#\/schema\/person\/780025d597f1c5df3cc156eaffc8c561\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/buklijas.info\/blog\/2019\/08\/01\/http-ping\/\"]}]},{\"@type\":\"Person\",\"@id\":\"http:\/\/buklijas.info\/blog\/#\/schema\/person\/780025d597f1c5df3cc156eaffc8c561\",\"name\":\"Sasa Buklijas\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"http:\/\/buklijas.info\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"http:\/\/0.gravatar.com\/avatar\/9f6f7de5a4882517ca0e4a8ebd607925?s=96&d=mm&r=g\",\"caption\":\"Sasa Buklijas\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5YHGV-eJ","_links":{"self":[{"href":"http:\/\/buklijas.info\/blog\/wp-json\/wp\/v2\/posts\/913"}],"collection":[{"href":"http:\/\/buklijas.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/buklijas.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/buklijas.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/buklijas.info\/blog\/wp-json\/wp\/v2\/comments?post=913"}],"version-history":[{"count":5,"href":"http:\/\/buklijas.info\/blog\/wp-json\/wp\/v2\/posts\/913\/revisions"}],"predecessor-version":[{"id":921,"href":"http:\/\/buklijas.info\/blog\/wp-json\/wp\/v2\/posts\/913\/revisions\/921"}],"wp:attachment":[{"href":"http:\/\/buklijas.info\/blog\/wp-json\/wp\/v2\/media?parent=913"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/buklijas.info\/blog\/wp-json\/wp\/v2\/categories?post=913"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/buklijas.info\/blog\/wp-json\/wp\/v2\/tags?post=913"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}