<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>Comments on: Monitor your website&#8217;s uptime using a bash script and a cronjob</title>
	<atom:link href="http://www.axertion.com/tutorials/2013/07/monitor-your-websites-uptime-using-a-bash-script-and-a-cronjob/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.axertion.com/tutorials/2013/07/monitor-your-websites-uptime-using-a-bash-script-and-a-cronjob/</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sun, 13 Nov 2016 11:38:11 +0000</lastBuildDate>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.8.1</generator>
	<item>
		<title>By: karthizen</title>
		<link>http://www.axertion.com/tutorials/2013/07/monitor-your-websites-uptime-using-a-bash-script-and-a-cronjob/#comment-249895</link>
		<dc:creator><![CDATA[karthizen]]></dc:creator>
		<pubDate>Tue, 19 Apr 2016 06:27:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.axertion.com/?p=566#comment-249895</guid>
		<description><![CDATA[Hi,

Thanks for the post.  does this work for secured (https) sites too? I did not get a response when I provided a https site.


Thanks,
zen.]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thanks for the post.  does this work for secured (https) sites too? I did not get a response when I provided a https site.</p>
<p>Thanks,<br />
zen.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: reza</title>
		<link>http://www.axertion.com/tutorials/2013/07/monitor-your-websites-uptime-using-a-bash-script-and-a-cronjob/#comment-249231</link>
		<dc:creator><![CDATA[reza]]></dc:creator>
		<pubDate>Wed, 23 Mar 2016 14:02:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.axertion.com/?p=566#comment-249231</guid>
		<description><![CDATA[thank you for bash script
it&#039;s very useful.]]></description>
		<content:encoded><![CDATA[<p>thank you for bash script<br />
it&#8217;s very useful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Root</title>
		<link>http://www.axertion.com/tutorials/2013/07/monitor-your-websites-uptime-using-a-bash-script-and-a-cronjob/#comment-181326</link>
		<dc:creator><![CDATA[Steve Root]]></dc:creator>
		<pubDate>Sat, 24 Jan 2015 17:01:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.axertion.com/?p=566#comment-181326</guid>
		<description><![CDATA[... that post got filtered, 

&quot;Perhaps (left arrow)body(right arrow) will work for you...&quot;]]></description>
		<content:encoded><![CDATA[<p>&#8230; that post got filtered, </p>
<p>&#8220;Perhaps (left arrow)body(right arrow) will work for you&#8230;&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Root</title>
		<link>http://www.axertion.com/tutorials/2013/07/monitor-your-websites-uptime-using-a-bash-script-and-a-cronjob/#comment-181319</link>
		<dc:creator><![CDATA[Steve Root]]></dc:creator>
		<pubDate>Sat, 24 Jan 2015 16:38:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.axertion.com/?p=566#comment-181319</guid>
		<description><![CDATA[The script didn&#039;t work for me because the ISP rejected curl --head requests.

To fix, this line:
&gt;   CURL=$(curl -s --head $site)
became 
&gt;   CURL=$(curl -s $site)

and
&gt;    if echo $CURL &#124; grep &quot;200 OK&quot; &gt; /dev/null
became
&gt;    if echo $CURL &#124; grep &quot;some text that was on my page&quot; &gt; /dev/null

If you still want to monitor multiple sites, use some text that is guaranteed to appear on your pages but also won&#039;t appear on a failed page. Perhaps &quot;&quot; will work for you but I&#039;ve not tested.]]></description>
		<content:encoded><![CDATA[<p>The script didn&#8217;t work for me because the ISP rejected curl &#8211;head requests.</p>
<p>To fix, this line:<br />
&gt;   CURL=$(curl -s &#8211;head $site)<br />
became<br />
&gt;   CURL=$(curl -s $site)</p>
<p>and<br />
&gt;    if echo $CURL | grep &#8220;200 OK&#8221; &gt; /dev/null<br />
became<br />
&gt;    if echo $CURL | grep &#8220;some text that was on my page&#8221; &gt; /dev/null</p>
<p>If you still want to monitor multiple sites, use some text that is guaranteed to appear on your pages but also won&#8217;t appear on a failed page. Perhaps &#8220;&#8221; will work for you but I&#8217;ve not tested.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anil</title>
		<link>http://www.axertion.com/tutorials/2013/07/monitor-your-websites-uptime-using-a-bash-script-and-a-cronjob/#comment-146531</link>
		<dc:creator><![CDATA[Anil]]></dc:creator>
		<pubDate>Wed, 29 Oct 2014 08:01:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.axertion.com/?p=566#comment-146531</guid>
		<description><![CDATA[great]]></description>
		<content:encoded><![CDATA[<p>great</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: KC</title>
		<link>http://www.axertion.com/tutorials/2013/07/monitor-your-websites-uptime-using-a-bash-script-and-a-cronjob/#comment-138074</link>
		<dc:creator><![CDATA[KC]]></dc:creator>
		<pubDate>Wed, 01 Oct 2014 16:03:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.axertion.com/?p=566#comment-138074</guid>
		<description><![CDATA[We just added a few nested IFs for the other conditions and ech the httpcode and timestamp if it failed :)

A]]></description>
		<content:encoded><![CDATA[<p>We just added a few nested IFs for the other conditions and ech the httpcode and timestamp if it failed <img src="http://www.axertion.com/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /> </p>
<p>A</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Axel</title>
		<link>http://www.axertion.com/tutorials/2013/07/monitor-your-websites-uptime-using-a-bash-script-and-a-cronjob/#comment-136418</link>
		<dc:creator><![CDATA[Axel]]></dc:creator>
		<pubDate>Thu, 25 Sep 2014 17:04:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.axertion.com/?p=566#comment-136418</guid>
		<description><![CDATA[You would have to drastically change the script to do that.

You would first have to store the persisted errors in a log, then count them after a certain amount has been reached to trigger the email.  A bit more complex than the script provided.

This script was given to be simple and to the point, to check if the site is responding at certain intervals.]]></description>
		<content:encoded><![CDATA[<p>You would have to drastically change the script to do that.</p>
<p>You would first have to store the persisted errors in a log, then count them after a certain amount has been reached to trigger the email.  A bit more complex than the script provided.</p>
<p>This script was given to be simple and to the point, to check if the site is responding at certain intervals.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Axel</title>
		<link>http://www.axertion.com/tutorials/2013/07/monitor-your-websites-uptime-using-a-bash-script-and-a-cronjob/#comment-136417</link>
		<dc:creator><![CDATA[Axel]]></dc:creator>
		<pubDate>Thu, 25 Sep 2014 17:02:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.axertion.com/?p=566#comment-136417</guid>
		<description><![CDATA[This isn&#039;t a catchall solution for logging errors.  This script only checks if the site is responding correctly and returning 200 Success response.]]></description>
		<content:encoded><![CDATA[<p>This isn&#8217;t a catchall solution for logging errors.  This script only checks if the site is responding correctly and returning 200 Success response.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steev</title>
		<link>http://www.axertion.com/tutorials/2013/07/monitor-your-websites-uptime-using-a-bash-script-and-a-cronjob/#comment-89796</link>
		<dc:creator><![CDATA[Steev]]></dc:creator>
		<pubDate>Sun, 22 Dec 2013 12:02:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.axertion.com/?p=566#comment-89796</guid>
		<description><![CDATA[Another thing, how can I receive e-mails only if 403,404,500,503 errors persist?

Thanks again]]></description>
		<content:encoded><![CDATA[<p>Another thing, how can I receive e-mails only if 403,404,500,503 errors persist?</p>
<p>Thanks again</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steev</title>
		<link>http://www.axertion.com/tutorials/2013/07/monitor-your-websites-uptime-using-a-bash-script-and-a-cronjob/#comment-89791</link>
		<dc:creator><![CDATA[Steev]]></dc:creator>
		<pubDate>Sun, 22 Dec 2013 10:17:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.axertion.com/?p=566#comment-89791</guid>
		<description><![CDATA[Greetings,

Scripts looks fine, but what if I want to see what error is showing when loading a site pointed in the sites.txt?

Thanks]]></description>
		<content:encoded><![CDATA[<p>Greetings,</p>
<p>Scripts looks fine, but what if I want to see what error is showing when loading a site pointed in the sites.txt?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
