<?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>Kommentare zu: 3ware Monitoring</title>
	<atom:link href="http://www.q-blog.org/2007/05/07/3ware-monitoring/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.q-blog.org/2007/05/07/3ware-monitoring/</link>
	<description>Dies und das von jedem was</description>
	<lastBuildDate>Tue, 29 Jun 2010 20:14:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>Von: markus</title>
		<link>http://www.q-blog.org/2007/05/07/3ware-monitoring/comment-page-1/#comment-408</link>
		<dc:creator>markus</dc:creator>
		<pubDate>Thu, 18 Jun 2009 16:11:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.q-blog.org/?p=14#comment-408</guid>
		<description>Moin,
wir haben mittlerweile bei allen Maschinen mit mehr als einem Array das im Einsatz:
http://www.roedie.nl/wiki/index.php/Nagios_3ware

Und zudem dies dann im Zusammenspiel mit Nagios NRPE. Dieses Script gibt zudem auch das Array zurük welches defekt ist, incl. der Status (zum Beispiel REBUILDING).</description>
		<content:encoded><![CDATA[<p>Moin,<br />
wir haben mittlerweile bei allen Maschinen mit mehr als einem Array das im Einsatz:<br />
<a href="http://www.roedie.nl/wiki/index.php/Nagios_3ware" rel="nofollow">http://www.roedie.nl/wiki/index.php/Nagios_3ware</a></p>
<p>Und zudem dies dann im Zusammenspiel mit Nagios NRPE. Dieses Script gibt zudem auch das Array zurük welches defekt ist, incl. der Status (zum Beispiel REBUILDING).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Michael Gebert</title>
		<link>http://www.q-blog.org/2007/05/07/3ware-monitoring/comment-page-1/#comment-407</link>
		<dc:creator>Michael Gebert</dc:creator>
		<pubDate>Thu, 18 Jun 2009 15:46:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.q-blog.org/?p=14#comment-407</guid>
		<description>Hallo,
das Script läuft gut. Danke dafür :)

Jetzt habe ich aber 2 Raid laufen u0 und u1.

Wie erweiter ich am besten das Script?

Danke</description>
		<content:encoded><![CDATA[<p>Hallo,<br />
das Script läuft gut. Danke dafür <img src='http://www.q-blog.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Jetzt habe ich aber 2 Raid laufen u0 und u1.</p>
<p>Wie erweiter ich am besten das Script?</p>
<p>Danke</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Helmuth Gronewold</title>
		<link>http://www.q-blog.org/2007/05/07/3ware-monitoring/comment-page-1/#comment-161</link>
		<dc:creator>Helmuth Gronewold</dc:creator>
		<pubDate>Mon, 04 Feb 2008 08:59:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.q-blog.org/?p=14#comment-161</guid>
		<description>Das Skript meldet bei einem Controller mit freien Ports auch 2.

Folgende Zeile muss angepasst werden:

[[ -z `echo &quot;$STATUS_DISKS&quot; &#124; grep -v &quot;^OK$&quot;` ]] &#124;&#124; {

in: 

[[ -z `echo &quot;$STATUS_DISKS&quot; &#124; grep -v &quot;^OK$&quot; &#124; grep -v &quot;^NOT-PRESENT$&quot;` ]] &#124;&#124; {</description>
		<content:encoded><![CDATA[<p>Das Skript meldet bei einem Controller mit freien Ports auch 2.</p>
<p>Folgende Zeile muss angepasst werden:</p>
<p>[[ -z `echo "$STATUS_DISKS" | grep -v "^OK$"` ]] || {</p>
<p>in: </p>
<p>[[ -z `echo "$STATUS_DISKS" | grep -v "^OK$" | grep -v "^NOT-PRESENT$"` ]] || {</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Baickinarak</title>
		<link>http://www.q-blog.org/2007/05/07/3ware-monitoring/comment-page-1/#comment-149</link>
		<dc:creator>Baickinarak</dc:creator>
		<pubDate>Fri, 01 Feb 2008 17:22:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.q-blog.org/?p=14#comment-149</guid>
		<description>Hello! 
Nice site ;) 
Bye</description>
		<content:encoded><![CDATA[<p>Hello!<br />
Nice site <img src='http://www.q-blog.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
Bye</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: keltus</title>
		<link>http://www.q-blog.org/2007/05/07/3ware-monitoring/comment-page-1/#comment-109</link>
		<dc:creator>keltus</dc:creator>
		<pubDate>Fri, 21 Dec 2007 11:39:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.q-blog.org/?p=14#comment-109</guid>
		<description>Habe das Script mal bereinigt und hier hochgeladen:

http://de.pastebin.ca/826716</description>
		<content:encoded><![CDATA[<p>Habe das Script mal bereinigt und hier hochgeladen:</p>
<p><a href="http://de.pastebin.ca/826716" rel="nofollow">http://de.pastebin.ca/826716</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: admin</title>
		<link>http://www.q-blog.org/2007/05/07/3ware-monitoring/comment-page-1/#comment-107</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Wed, 12 Dec 2007 09:03:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.q-blog.org/?p=14#comment-107</guid>
		<description>Mal versucht die tw_cli von Hand mit den Parametern aufzurufen?</description>
		<content:encoded><![CDATA[<p>Mal versucht die tw_cli von Hand mit den Parametern aufzurufen?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: GrafPorno</title>
		<link>http://www.q-blog.org/2007/05/07/3ware-monitoring/comment-page-1/#comment-106</link>
		<dc:creator>GrafPorno</dc:creator>
		<pubDate>Tue, 11 Dec 2007 19:30:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.q-blog.org/?p=14#comment-106</guid>
		<description>Das script will bei mir nicht so richtig! Ich bekomme einfach keine Ausgabe?! Gibts noch irgendwelche Tips?</description>
		<content:encoded><![CDATA[<p>Das script will bei mir nicht so richtig! Ich bekomme einfach keine Ausgabe?! Gibts noch irgendwelche Tips?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: keltus</title>
		<link>http://www.q-blog.org/2007/05/07/3ware-monitoring/comment-page-1/#comment-94</link>
		<dc:creator>keltus</dc:creator>
		<pubDate>Thu, 15 Nov 2007 19:40:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.q-blog.org/?p=14#comment-94</guid>
		<description>danke für das shellscript, aber irgendwie würfelt dein blog alle sonderzeichen durcheinander.

[code]
#!/bin/sh
#
# This script checks
#
# - RAID Status
# - Drive Status
#
# on a 3ware 7006-2 ATA RAID Controller.
#
# returns 1 if RAID error was detected, 2 if DISK error was detected
#
# Marcus T. Jaschen 
# 2006-02-03

# tw_cli binary location
TWCLI=/usr/sbin/tw_cli

# controller name
CONTROLLER=c0

# get complete status
STATUS_CONTROLLER=`$TWCLI /$CONTROLLER show`

# check for RAID status
STATUS_RAID=`echo &quot;$STATUS_CONTROLLER&quot; &#124; grep &quot;^u0&quot; &#124; awk &#039;{ print $3; }&#039;`

[[ $STATUS_RAID != &quot;OK&quot; ]] &amp;# check for disk status
STATUS_DISKS=`echo &quot;$STATUS_CONTROLLER&quot; &#124; grep &quot;^p[[:digit:]]&quot; &#124; awk &#039;{ print $2; }&#039;`

[[ -z `echo &quot;$STATUS_DISKS&quot; &#124; grep -v &quot;^OK$&quot;` ]] &#124;&#124; {
STATUS_RAID=&quot;CRITICAL&quot;
exit 2
}

echo $STATUS_RAID

exit 0
[/code]</description>
		<content:encoded><![CDATA[<p>danke für das shellscript, aber irgendwie würfelt dein blog alle sonderzeichen durcheinander.</p>
<p>[code]<br />
#!/bin/sh<br />
#<br />
# This script checks<br />
#<br />
# - RAID Status<br />
# - Drive Status<br />
#<br />
# on a 3ware 7006-2 ATA RAID Controller.<br />
#<br />
# returns 1 if RAID error was detected, 2 if DISK error was detected<br />
#<br />
# Marcus T. Jaschen<br />
# 2006-02-03</p>
<p># tw_cli binary location<br />
TWCLI=/usr/sbin/tw_cli</p>
<p># controller name<br />
CONTROLLER=c0</p>
<p># get complete status<br />
STATUS_CONTROLLER=`$TWCLI /$CONTROLLER show`</p>
<p># check for RAID status<br />
STATUS_RAID=`echo "$STATUS_CONTROLLER" | grep "^u0" | awk '{ print $3; }'`</p>
<p>[[ $STATUS_RAID != "OK" ]] &amp;# check for disk status<br />
STATUS_DISKS=`echo "$STATUS_CONTROLLER" | grep "^p[[:digit:]]" | awk '{ print $2; }'`</p>
<p>[[ -z `echo "$STATUS_DISKS" | grep -v "^OK$"` ]] || {<br />
STATUS_RAID="CRITICAL"<br />
exit 2<br />
}</p>
<p>echo $STATUS_RAID</p>
<p>exit 0<br />
[/code]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: matthias</title>
		<link>http://www.q-blog.org/2007/05/07/3ware-monitoring/comment-page-1/#comment-90</link>
		<dc:creator>matthias</dc:creator>
		<pubDate>Wed, 07 Nov 2007 17:27:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.q-blog.org/?p=14#comment-90</guid>
		<description>So was brauch ich jetzt bald - Danke! :)</description>
		<content:encoded><![CDATA[<p>So was brauch ich jetzt bald &#8211; Danke! <img src='http://www.q-blog.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
