<?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: Monitoring LSI Logic RAID controllers</title>
	<atom:link href="http://prefetch.net/blog/index.php/2007/02/03/monitoring-lsi-logic-raid-controllers/feed/" rel="self" type="application/rss+xml" />
	<link>http://prefetch.net/blog/index.php/2007/02/03/monitoring-lsi-logic-raid-controllers/</link>
	<description>Blog O' Matty</description>
	<lastBuildDate>Fri, 04 May 2012 19:58:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: iknight</title>
		<link>http://prefetch.net/blog/index.php/2007/02/03/monitoring-lsi-logic-raid-controllers/comment-page-1/#comment-831140</link>
		<dc:creator>iknight</dc:creator>
		<pubDate>Tue, 17 Jan 2012 17:52:39 +0000</pubDate>
		<guid isPermaLink="false">http://prefetch.net/blog/index.php/2007/02/03/monitoring-lsi-logic-raid-controllers/#comment-831140</guid>
		<description>After lots of searching John, i found a copy of this tar ball at 

http://sisyphus.ru/en/srpm/Branch4/mpt-status/sources

And it compiled up ok on centos (had to alter some paths in the mpt-status.h file though)</description>
		<content:encoded><![CDATA[<p>After lots of searching John, i found a copy of this tar ball at </p>
<p><a href="http://sisyphus.ru/en/srpm/Branch4/mpt-status/sources" rel="nofollow">http://sisyphus.ru/en/srpm/Branch4/mpt-status/sources</a></p>
<p>And it compiled up ok on centos (had to alter some paths in the mpt-status.h file though)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://prefetch.net/blog/index.php/2007/02/03/monitoring-lsi-logic-raid-controllers/comment-page-1/#comment-831121</link>
		<dc:creator>John</dc:creator>
		<pubDate>Sun, 08 Jan 2012 09:26:51 +0000</pubDate>
		<guid isPermaLink="false">http://prefetch.net/blog/index.php/2007/02/03/monitoring-lsi-logic-raid-controllers/#comment-831121</guid>
		<description>The source to this has vanished, &#039;drugphish.com&#039; now redirects to a generic hosting page.   sourceforge points to the same site.</description>
		<content:encoded><![CDATA[<p>The source to this has vanished, &#8216;drugphish.com&#8217; now redirects to a generic hosting page.   sourceforge points to the same site.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Web Hosting</title>
		<link>http://prefetch.net/blog/index.php/2007/02/03/monitoring-lsi-logic-raid-controllers/comment-page-1/#comment-830704</link>
		<dc:creator>Web Hosting</dc:creator>
		<pubDate>Thu, 13 Oct 2011 15:13:38 +0000</pubDate>
		<guid isPermaLink="false">http://prefetch.net/blog/index.php/2007/02/03/monitoring-lsi-logic-raid-controllers/#comment-830704</guid>
		<description>Small tip if you are on Debian, you can install the mpt-status package with:

apt-get install mpt-status</description>
		<content:encoded><![CDATA[<p>Small tip if you are on Debian, you can install the mpt-status package with:</p>
<p>apt-get install mpt-status</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frands</title>
		<link>http://prefetch.net/blog/index.php/2007/02/03/monitoring-lsi-logic-raid-controllers/comment-page-1/#comment-792904</link>
		<dc:creator>Frands</dc:creator>
		<pubDate>Sat, 23 May 2009 21:51:05 +0000</pubDate>
		<guid isPermaLink="false">http://prefetch.net/blog/index.php/2007/02/03/monitoring-lsi-logic-raid-controllers/#comment-792904</guid>
		<description>This can be used as nagios check works like a charm.

#!/bin/sh

STATUS=`/usr/bin/sudo /usr/sbin/mpt-status -s`

if [ `/usr/bin/sudo /usr/sbin/mpt-status &#124;grep ONLINE &#124; wc -l` == &quot;2&quot; ]; then

        echo &quot;Array OK: $STATUS&quot;
        exit 0

else

        echo &quot;Array ERROR: $STATUS&quot;
        exit 2

fi</description>
		<content:encoded><![CDATA[<p>This can be used as nagios check works like a charm.</p>
<p>#!/bin/sh</p>
<p>STATUS=`/usr/bin/sudo /usr/sbin/mpt-status -s`</p>
<p>if [ `/usr/bin/sudo /usr/sbin/mpt-status |grep ONLINE | wc -l` == "2" ]; then</p>
<p>        echo &#8220;Array OK: $STATUS&#8221;<br />
        exit 0</p>
<p>else</p>
<p>        echo &#8220;Array ERROR: $STATUS&#8221;<br />
        exit 2</p>
<p>fi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: daveg</title>
		<link>http://prefetch.net/blog/index.php/2007/02/03/monitoring-lsi-logic-raid-controllers/comment-page-1/#comment-770920</link>
		<dc:creator>daveg</dc:creator>
		<pubDate>Sun, 19 Apr 2009 12:13:36 +0000</pubDate>
		<guid isPermaLink="false">http://prefetch.net/blog/index.php/2007/02/03/monitoring-lsi-logic-raid-controllers/#comment-770920</guid>
		<description>That output from mpt-status -s looks like its perfect low hanging fruit to get made into a nagios check plugin :-)</description>
		<content:encoded><![CDATA[<p>That output from mpt-status -s looks like its perfect low hanging fruit to get made into a nagios check plugin :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Wood</title>
		<link>http://prefetch.net/blog/index.php/2007/02/03/monitoring-lsi-logic-raid-controllers/comment-page-1/#comment-460194</link>
		<dc:creator>Eric Wood</dc:creator>
		<pubDate>Mon, 02 Jun 2008 20:30:10 +0000</pubDate>
		<guid isPermaLink="false">http://prefetch.net/blog/index.php/2007/02/03/monitoring-lsi-logic-raid-controllers/#comment-460194</guid>
		<description>Solved.

I added &quot;modprobe mptctl&quot; at bootup according to these instructions:
http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/sysadmin-guide/s1-kernel-modules-persistant.html

rebooted the server and mpt-status as well as Dell&#039;s SSM gui software works.</description>
		<content:encoded><![CDATA[<p>Solved.</p>
<p>I added &#8220;modprobe mptctl&#8221; at bootup according to these instructions:<br />
<a href="http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/sysadmin-guide/s1-kernel-modules-persistant.html" rel="nofollow">http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/sysadmin-guide/s1-kernel-modules-persistant.html</a></p>
<p>rebooted the server and mpt-status as well as Dell&#8217;s SSM gui software works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Wood</title>
		<link>http://prefetch.net/blog/index.php/2007/02/03/monitoring-lsi-logic-raid-controllers/comment-page-1/#comment-459996</link>
		<dc:creator>Eric Wood</dc:creator>
		<pubDate>Mon, 02 Jun 2008 12:39:05 +0000</pubDate>
		<guid isPermaLink="false">http://prefetch.net/blog/index.php/2007/02/03/monitoring-lsi-logic-raid-controllers/#comment-459996</guid>
		<description>Got mpt-status from:
http://www.drugphish.ch/~ratz/mpt-status/

Compile it Philon&#039;s message above but I can&#039;t get it to run with a Dell SAS/5iR card which has the SAS1068 chip.  This 1068 chip is supported by mpt-status. 

Any ideas?

# ./mpt-status
open /dev/mptctl: No such device
 Are you sure your controller is supported by mptlinux?
Make sure mptctl is loaded into the kernel

# lsmod &#124;grep mpt
mptsas                 31049  2
mptscsih               24897  1 mptsas
mptbase                56929  2 mptsas,mptscsih
scsi_transport_sas     30529  1 mptsas
scsi_mod              132685  6 sg,libata,mptsas,mptscsih,scsi_transport_sas,sd_mod

# ls -l /dev/mptctl
crw-r--r-- 1 root root 10, 220 May 29 13:23 /dev/mptctl</description>
		<content:encoded><![CDATA[<p>Got mpt-status from:<br />
<a href="http://www.drugphish.ch/~ratz/mpt-status/" rel="nofollow">http://www.drugphish.ch/~ratz/mpt-status/</a></p>
<p>Compile it Philon&#8217;s message above but I can&#8217;t get it to run with a Dell SAS/5iR card which has the SAS1068 chip.  This 1068 chip is supported by mpt-status. </p>
<p>Any ideas?</p>
<p># ./mpt-status<br />
open /dev/mptctl: No such device<br />
 Are you sure your controller is supported by mptlinux?<br />
Make sure mptctl is loaded into the kernel</p>
<p># lsmod |grep mpt<br />
mptsas                 31049  2<br />
mptscsih               24897  1 mptsas<br />
mptbase                56929  2 mptsas,mptscsih<br />
scsi_transport_sas     30529  1 mptsas<br />
scsi_mod              132685  6 sg,libata,mptsas,mptscsih,scsi_transport_sas,sd_mod</p>
<p># ls -l /dev/mptctl<br />
crw-r&#8211;r&#8211; 1 root root 10, 220 May 29 13:23 /dev/mptctl</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dmnd</title>
		<link>http://prefetch.net/blog/index.php/2007/02/03/monitoring-lsi-logic-raid-controllers/comment-page-1/#comment-84438</link>
		<dc:creator>dmnd</dc:creator>
		<pubDate>Sat, 01 Sep 2007 13:30:56 +0000</pubDate>
		<guid isPermaLink="false">http://prefetch.net/blog/index.php/2007/02/03/monitoring-lsi-logic-raid-controllers/#comment-84438</guid>
		<description>Tnx man! i&#039;ve been looking for this quite some time! :)</description>
		<content:encoded><![CDATA[<p>Tnx man! i&#8217;ve been looking for this quite some time! :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philon</title>
		<link>http://prefetch.net/blog/index.php/2007/02/03/monitoring-lsi-logic-raid-controllers/comment-page-1/#comment-77237</link>
		<dc:creator>Philon</dc:creator>
		<pubDate>Fri, 17 Aug 2007 21:25:13 +0000</pubDate>
		<guid isPermaLink="false">http://prefetch.net/blog/index.php/2007/02/03/monitoring-lsi-logic-raid-controllers/#comment-77237</guid>
		<description>Hey there,

matty, thanks for the SPEC, I found your daily script and installed it. Nice thing!

And as another note to pgienger, as I also had some problems while compiling mpt-status... Get the kernel sources, see here &quot;http://wiki.centos.org/HowTos/I_need_the_Kernel_Source&quot;. mpi_type.h is then located in &quot;drivers/message/fusion/&quot;. For the compiler.h error I edited the mpt-status.h and hard-coded the compiler.h.

and finally:
[root@bart ~]# mpt-status 
ioc0 vol_id 0 type IM, 2 phy, 68 GB, state OPTIMAL, flags ENABLED
ioc0 phy 0 scsi_id 0 IBM-ESXS CBR073C32410ESFN DFQD, 68 GB, state ONLINE, flags NONE
ioc0 phy 1 scsi_id 1 IBM-ESXS CBR073C32410ESFN DFQD, 68 GB, state ONLINE, flags NONE

regards</description>
		<content:encoded><![CDATA[<p>Hey there,</p>
<p>matty, thanks for the SPEC, I found your daily script and installed it. Nice thing!</p>
<p>And as another note to pgienger, as I also had some problems while compiling mpt-status&#8230; Get the kernel sources, see here &#8220;http://wiki.centos.org/HowTos/I_need_the_Kernel_Source&#8221;. mpi_type.h is then located in &#8220;drivers/message/fusion/&#8221;. For the compiler.h error I edited the mpt-status.h and hard-coded the compiler.h.</p>
<p>and finally:<br />
[root@bart ~]# mpt-status<br />
ioc0 vol_id 0 type IM, 2 phy, 68 GB, state OPTIMAL, flags ENABLED<br />
ioc0 phy 0 scsi_id 0 IBM-ESXS CBR073C32410ESFN DFQD, 68 GB, state ONLINE, flags NONE<br />
ioc0 phy 1 scsi_id 1 IBM-ESXS CBR073C32410ESFN DFQD, 68 GB, state ONLINE, flags NONE</p>
<p>regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pgienger</title>
		<link>http://prefetch.net/blog/index.php/2007/02/03/monitoring-lsi-logic-raid-controllers/comment-page-1/#comment-61949</link>
		<dc:creator>pgienger</dc:creator>
		<pubDate>Thu, 14 Jun 2007 15:06:36 +0000</pubDate>
		<guid isPermaLink="false">http://prefetch.net/blog/index.php/2007/02/03/monitoring-lsi-logic-raid-controllers/#comment-61949</guid>
		<description>Did you have to do anything special in the way of installing packages to get the mpt-status source to build?  I&#039;ve been trying recently on RHEL/Fedora/CentOS from both the base tarball and spec, but I keep running into missing headers (for example lsi/mpi_type.h). The best indications I&#039;ve found is that these might have been removed from the kernel tree.</description>
		<content:encoded><![CDATA[<p>Did you have to do anything special in the way of installing packages to get the mpt-status source to build?  I&#8217;ve been trying recently on RHEL/Fedora/CentOS from both the base tarball and spec, but I keep running into missing headers (for example lsi/mpi_type.h). The best indications I&#8217;ve found is that these might have been removed from the kernel tree.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

