{"id":32,"date":"2007-11-22T22:45:58","date_gmt":"2007-11-22T21:45:58","guid":{"rendered":"http:\/\/www.nooblet.org\/blog\/2007\/pingstatuspl-check-for-server-downtime\/"},"modified":"2013-01-10T03:44:32","modified_gmt":"2013-01-10T03:44:32","slug":"pingstatuspl-check-for-server-downtime","status":"publish","type":"post","link":"https:\/\/www.nooblet.org\/blog\/2007\/pingstatuspl-check-for-server-downtime\/","title":{"rendered":"pingstatus.pl &#8212; Check for server downtime."},"content":{"rendered":"<p>Wanting to continuously check if a server is losing connectivity, I quickly put togethor a small perl script to do the job.<\/p>\n<p>Open the file and edit the variables to determine debug status, email details, server ip etc.<\/p>\n<p>By default it sends a ping every second. If this test fails 5 times in a row, a report is sent via mail.<\/p>\n<p>Disable debug for it to run silently in the background.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/2007\/11\/pingstatuspl-check-for-server-downtime-image1.png\" alt=\"pingstatuspl-check-for-server-downtime-image1\" width=\"363\" height=\"115\" class=\"alignnone size-full wp-image-747\" srcset=\"https:\/\/www.nooblet.org\/blog\/wp-content\/uploads\/2007\/11\/pingstatuspl-check-for-server-downtime-image1.png 363w, https:\/\/www.nooblet.org\/blog\/wp-content\/uploads\/2007\/11\/pingstatuspl-check-for-server-downtime-image1-300x95.png 300w\" sizes=\"auto, (max-width: 363px) 100vw, 363px\" \/><\/p>\n<p><b>Download<\/b><br \/>\n<img decoding=\"async\" src=\"\/blog\/wp-content\/plugins\/wp-downloadmanager\/images\/ext\/unknown.gif\" alt=\"\" title=\"\" style=\"vertical-align: middle;\" \/>&nbsp;&nbsp;<strong><a href=\"https:\/\/www.nooblet.org\/blog\/download\/pingstatus.pl\">pingstatus.pl<\/a><\/strong> (2.4 KiB, 3,378 hits)<br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Wanting to continuously check if a server is losing connectivity, I quickly put togethor a small perl script to do the job. Open the file and edit the variables to determine debug status, email details, server ip etc. By default it sends a ping every second. If this test fails 5 times in a row, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":648,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[35,42,233,124,143,145],"class_list":["post-32","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","tag-check","tag-connectivity","tag-linux","tag-perl","tag-script","tag-server"],"_links":{"self":[{"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/posts\/32","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/comments?post=32"}],"version-history":[{"count":2,"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/posts\/32\/revisions"}],"predecessor-version":[{"id":748,"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/posts\/32\/revisions\/748"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/media\/648"}],"wp:attachment":[{"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/media?parent=32"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/categories?post=32"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nooblet.org\/blog\/wp-json\/wp\/v2\/tags?post=32"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}