<?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>A day in the life... &#187; Monitoring</title>
	<atom:link href="http://pieter.barrezeele.be/tag/monitoring/feed/" rel="self" type="application/rss+xml" />
	<link>http://pieter.barrezeele.be</link>
	<description>Pieter Barrezeele's homepage</description>
	<lastBuildDate>Mon, 14 Sep 2020 08:31:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Monitoring MS SQLServer 2005 with Nagios</title>
		<link>http://pieter.barrezeele.be/2008/05/05/nagios_sqlserver2005/</link>
		<comments>http://pieter.barrezeele.be/2008/05/05/nagios_sqlserver2005/#comments</comments>
		<pubDate>Mon, 05 May 2008 18:53:15 +0000</pubDate>
		<dc:creator>macbar</dc:creator>
				<category><![CDATA[Nagios]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[Monitoring]]></category>

		<guid isPermaLink="false">http://pieter.barrezeele.be/?p=156</guid>
		<description><![CDATA[Need to monitor a SQLserver with Nagios? There&#8217;s check_mssql.sh in the latest nagios plugins&#8217; contrib folder. This check command only works with SQLServer 7 and 2000, though.
To make it work with SQLServer 2005, you only need to change 1 line in the script. Find this line:
echo -e "select loginame from sysprocesses where spid &#62; $spid [...]]]></description>
			<content:encoded><![CDATA[<p>Need to monitor a SQLserver with Nagios? There&#8217;s check_mssql.sh in the latest nagios plugins&#8217; contrib folder. This check command only works with SQLServer 7 and 2000, though.</p>
<p>To make it work with SQLServer 2005, you only need to change 1 line in the script. Find this line:</p>
<pre lang="bash">echo -e "select loginame from sysprocesses where spid &gt; $spid ...</pre>
<p>and change it to</p>
<pre lang="bash">echo -e "select loginame from sys.sysprocesses where spid &gt; $spid ...</pre>
<p>Now, if your freetds installation (the actual SQLServer client that does all the magic) supports SQLServer 2005, you can run the script as though you&#8217;re checking a SQLServer 2000 installation.</p>
]]></content:encoded>
			<wfw:commentRss>http://pieter.barrezeele.be/2008/05/05/nagios_sqlserver2005/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
