<?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>The Lazy Sys Admin&#187; Information Store</title>
	<atom:link href="http://www.thelazysysadmin.net/tag/information-store/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thelazysysadmin.net</link>
	<description>Why do things the hard way?</description>
	<lastBuildDate>Mon, 07 Jun 2010 22:24:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Monitor Exchange Storage Groups in Nagios</title>
		<link>http://www.thelazysysadmin.net/2009/07/monitor-exchange-storage-groups-in-nagios/</link>
		<comments>http://www.thelazysysadmin.net/2009/07/monitor-exchange-storage-groups-in-nagios/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 06:30:54 +0000</pubDate>
		<dc:creator>Jon Smith</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[check_nt]]></category>
		<category><![CDATA[Information Store]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Storage Groups]]></category>

		<guid isPermaLink="false">http://www.thelazysysadmin.net/?p=564</guid>
		<description><![CDATA[I had a failure in one of my Exchange Storage Groups last night and the Storage Group had dismounted itself. However the Information Store service was still running and so were the other three Storage Groups on the server. So that got me to thinking, how do I monitor the individual Storage Groups for failures [...]]]></description>
			<content:encoded><![CDATA[<p>I had a failure in one of my Exchange Storage Groups last night and the Storage Group had dismounted itself. However the Information Store service was still running and so were the other three Storage Groups on the server. So that got me to thinking, how do I monitor the individual Storage Groups for failures with Nagios?</p>
<p><span id="more-564"></span>The solution involves using the check_nt plugin for Nagios and the Nagios pNSClient for windows, the following may work for any one of the Nagios Windows clients but you will have to test it for yourself.</p>
<p>Firstly the check command (Please click the View Source button in the code windows below to see the whole line)</p>
<pre class="brush: plain;">
define command{
  command_name    check_exchange_storage_group
  command_line    $USER1$/check_nt -H $HOSTADDRESS$ -p $USER19$ -w 1 -c 0 -v COUNTER -d SHOWALL -l &quot;\\MSExchangeIS Mailbox($ARG1$)\Client Logons&quot;,&quot;$ARG1$ Logons: %.f&quot;
}
</pre>
<p>$USER19$ on my installation is set to the port that Nagios Client for Windows uses. You will need to modify this to suit your needs.</p>
<p>Next define a Service Template</p>
<pre class="brush: plain;">
define service {
        name check_exchange_storage_group
        use base
        check_command check_exchange_storage_group
        register 0
}
</pre>
<p>Then define the service for each host you want to monitor</p>
<pre class="brush: plain;">
define service {
        use check_exchange_storage_group
        service_description Exch Storage Group - First Storage Group
        check_command check_exchange_storage_group!First Storage Group-Mailbox Store (ARCMAIL)
        host_name arcmail
}
</pre>
<p>The following line is the important part, this is what tells Nagios which storage group to monitor</p>
<p><em>check_command check_exchange_storage_group!First Storage Group-Mailbox Store (ARCMAIL)</em></p>
<p>To find out what you need to put after the ! (Exclamation Point) on the check command line check out your Exchange System Manager</p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/07/ExchangeMonitoring.jpg"><img class="alignnone size-full wp-image-570" title="Exchange System Manager" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/07/ExchangeMonitoring.jpg" alt="Exchange System Manager" width="398" height="373" /></a></p>
<p>And under &#8220;Administrative Group -&gt; &lt;&lt;Admin Group Name&gt;&gt; -&gt; Servers -&gt; &lt;&lt;Server Name&gt;&gt;&#8221; should be your storage groups (In most cases it should look very similar to above, it will be different if you have a large Exchange installation).</p>
<p>You need to put the names of the Storage Group and Mailbox store together separated by a dash, the Storage Group name required to function for the installation shown above is:</p>
<p><strong><em>First Storage Group-Mailbox Store (ARCMAIL)</em></strong></p>
<p>You need to put the whole name in there otherwise the check command will return critical as it cant find the storage group you are trying to monitor.</p>
<p>That should be all that is required to monitor your individual Exchange Storage Groups. A possible caveat is that when some backup software backs up Exchange it will dismount the storage group and hence cause an alarm, if this is the case you will need to put in some exemption times into your Nagios installation.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thelazysysadmin.net/2009/07/monitor-exchange-storage-groups-in-nagios/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
