<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>beckr.org &#124; Christian Becker &#187; Geekstuff</title>
	<atom:link href="http://beckr.org/category/geekstuff/feed/" rel="self" type="application/rss+xml" />
	<link>http://beckr.org</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Fri, 27 Aug 2010 19:14:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Simple URL downtime alert with bash, curl and sendmail</title>
		<link>http://beckr.org/2008/08/17/simple-url-downtime-alert-with-bash-curl-and-sendmail/</link>
		<comments>http://beckr.org/2008/08/17/simple-url-downtime-alert-with-bash-curl-and-sendmail/#comments</comments>
		<pubDate>Sun, 17 Aug 2008 22:02:00 +0000</pubDate>
		<dc:creator>cbecker</dc:creator>
				<category><![CDATA[Geekstuff]]></category>

		<guid isPermaLink="false">http://beckr.org/2008/08/17/simple-url-downtime-alert-with-bash-curl-and-sendmail/</guid>
		<description><![CDATA[Now for a really easy way to be notified when an URL goes down: email=$(/bin/cat &#60;&#60;! From: URL Monitor &#60;urlmonitor@localhost&#62; To: $2 Subject: $1 is down! !) /usr/bin/curl -f $1 &#124;&#124; echo "$email" &#124; /usr/sbin/sendmail -t Just put it in your crontab as urlmonitor.sh &#60;URL to check&#62; &#60;email address&#62;.]]></description>
			<content:encoded><![CDATA[<p>Now for a really easy way to be notified when an URL goes down:</p>
<p><code><br />
email=$(/bin/cat &lt;&lt;!<br />
From: URL Monitor &lt;urlmonitor@localhost&gt;<br />
To: $2<br />
Subject: $1 is down!<br />
!)<br />
/usr/bin/curl -f $1 || echo "$email" | /usr/sbin/sendmail -t<br />
</code></p>
<p>Just put it in your crontab as <code>urlmonitor.sh <em>&lt;URL to check&gt;</em> <em>&lt;email address&gt;</em></code>.</p>
]]></content:encoded>
			<wfw:commentRss>http://beckr.org/2008/08/17/simple-url-downtime-alert-with-bash-curl-and-sendmail/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using apc (User is logged in)

Served from: beckr.org @ 2012-02-04 07:38:11 -->
