<?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>gHacks technology news &#187; database monitor</title>
	<atom:link href="http://www.ghacks.net/tag/database-monitor/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ghacks.net</link>
	<description>A technology blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description>
	<lastBuildDate>Wed, 25 Nov 2009 11:56:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Website Monitoring Software</title>
		<link>http://www.ghacks.net/2009/04/17/website-monitoring-software/</link>
		<comments>http://www.ghacks.net/2009/04/17/website-monitoring-software/#comments</comments>
		<pubDate>Fri, 17 Apr 2009 09:58:15 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[The Web]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[database monitor]]></category>
		<category><![CDATA[Network Monitoring]]></category>
		<category><![CDATA[server monitoring]]></category>
		<category><![CDATA[webmasters]]></category>
		<category><![CDATA[website]]></category>
		<category><![CDATA[website monitoring]]></category>
		<category><![CDATA[website monitoring software]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/2009/04/17/website-monitoring-software/</guid>
		<description><![CDATA[It is essential for webmasters and system administrators to monitor their websites and networks to be able to react as soon as possible if all or part of it goes down. That&#8217;s especially true for professionals who earn their living with their websites. A possibility are commercial services that notify the webmaster as soon as [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.ghacks.net/wp-content/uploads/2009/04/website_monitoring_software.jpg" alt="website monitoring software" title="website monitoring software" width="232" height="51" class="alignleft size-full wp-image-12089" />It is essential for webmasters and system administrators to monitor their websites and networks to be able to react as soon as possible if all or part of it goes down. That&#8217;s especially true for professionals who earn their living with their websites. A possibility are commercial services that notify the webmaster as soon as a website becomes unreachable. Ghacks is monitored round the clock by <a href="http://www.ghacks.net/2008/07/19/monitor-your-servers-with-livewatch/">Livewatch</a> which will automatically send an SMS or email when a server or website goes down. </p>
<p><span id="more-12090"></span>Not everyone wants to pay to monitor websites though. The free portable software program SiteMonitor provides a local solution for the Windows operating system. It requires the Microsoft .net Framework 2.0 and can be configured to monitor selected websites and notify the user if they become unreachable. It is a good alternative as long as it is run on a computer system that is online 24/7.</p>
<p>New urls can be added easily to <a href="http://www.iannet.org/apps/SiteMonitor/">SiteMonitor</a>. All that it takes is to add a descriptive name, an url and HTML to match which is simply content that should appear on the website. The website monitoring software will check every 30 minutes by default; To much for important websites. The interval can be changed in the options. The options are also the place where the notification preferences can be edited. The website monitor provides two different types of reactions to website connection problems:</p>
<ul>
<li>Run a script or executable, e.g. a script that will restart a server or service</li>
<li>Send email to notify a user about the connection problem</li>
</ul>
<p>The amount of failures before either one of the reactions will be initiated can be configured in the same menu as well. </p>
<p>Below is the small php script that we use to check if the database is up and running on Ghacks:</p>
<p><code>&lt;?php<br />
$dbhost = 'localhost';<br />
$dbuser = 'username';<br />
$dbpass = 'password';</p>
<p>$conn = mysql_connect($dbhost, $dbuser, $dbpass) or die                      ('Error');</p>
<p>$dbname = 'databasename';<br />
mysql_select_db($dbname);</p>
<p>if ($conn) {echo &quot;ok&quot;;}<br />
else {echo &quot;error&quot;;}</p>
<p>?&gt;</code></p>
<p>replace username with the database username, password with the password of the username and databasename with the name of the database. Save it as database.php, upload it to your website and load the new file. It should display ok if the database is up and error if it is down. The url that points to the script can then be added to the website monitoring software to check if it returns ok. If it does the website is up, if it does not it is down.</p>
<p>Alternatives are the <a href="http://www.ghacks.net/2009/03/24/website-monitor-and-downloader/">Website Monitor and Downloader</a> Wysigot, <a href="http://www.ghacks.net/2007/05/03/monitor-your-website-with-montastic/">Montastic</a> or the <a href="http://www.ghacks.net/2008/08/13/server-monitoring-with-observu/">Server Monitor</a> Observu.</p>

	Tags: <a href="http://www.ghacks.net/tag/database-monitor/" title="database monitor" rel="tag">database monitor</a>, <a href="http://www.ghacks.net/tag/network-monitoring/" title="Network Monitoring" rel="tag">Network Monitoring</a>, <a href="http://www.ghacks.net/tag/server-monitoring/" title="server monitoring" rel="tag">server monitoring</a>, <a href="http://www.ghacks.net/tag/webmasters/" title="webmasters" rel="tag">webmasters</a>, <a href="http://www.ghacks.net/tag/website/" title="website" rel="tag">website</a>, <a href="http://www.ghacks.net/tag/website-monitoring/" title="website monitoring" rel="tag">website monitoring</a>, <a href="http://www.ghacks.net/tag/website-monitoring-software/" title="website monitoring software" rel="tag">website monitoring software</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/04/05/website-value-calculator-stimator/" title="Website Value Calculator Stimator (April 5, 2009)">Website Value Calculator Stimator</a> (27)</li>
	<li><a href="http://www.ghacks.net/2008/08/25/website-value-calculator-cubestat/" title="Website Value Calculator Cubestat (August 25, 2008)">Website Value Calculator Cubestat</a> (15)</li>
	<li><a href="http://www.ghacks.net/2008/08/13/server-monitoring-with-observu/" title="Server Monitoring With Observu (August 13, 2008)">Server Monitoring With Observu</a> (2)</li>
	<li><a href="http://www.ghacks.net/2009/05/21/server-monitoring-software-it-service-view/" title="Server Monitoring Software IT Service View (May 21, 2009)">Server Monitoring Software IT Service View</a> (4)</li>
	<li><a href="http://www.ghacks.net/2009/09/07/monitor-website-changes/" title="5 Tools To Monitor Website Changes (September 7, 2009)">5 Tools To Monitor Website Changes</a> (14)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/04/17/website-monitoring-software/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
