<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v =
"urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word" xmlns:st1 =
"urn:schemas-microsoft-com:office:smarttags"><HEAD><TITLE>Nachricht</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1589" name=GENERATOR><!--[if !mso]>
<STYLE>v\:* {
BEHAVIOR: url(#default#VML)
}
o\:* {
BEHAVIOR: url(#default#VML)
}
w\:* {
BEHAVIOR: url(#default#VML)
}
.shape {
BEHAVIOR: url(#default#VML)
}
</STYLE>
<![endif]--><o:SmartTagType downloadurl="http://www.5iantlavalamp.com/"
name="place"
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType
downloadurl="http://www.5iantlavalamp.com/" name="country-region"
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType
downloadurl="http://www.5iamas-microsoft-com:office:smarttags" name="address"
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType
downloadurl="http://www.5iantlavalampft-com:office:smarttags" name="Street"
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType
downloadurl="http://www.5iamas-microsoft-com:office:smarttags" name="City"
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType
downloadurl="http://www.5iamas-microsoft-com:office:smarttags" name="PostalCode"
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType
name="PersonName"
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><!--[if !mso]>
<STYLE>st1\:* {
BEHAVIOR: url(#default#ieooui)
}
</STYLE>
<![endif]-->
<STYLE>@font-face {
font-family: Wingdings;
}
@font-face {
font-family: Tahoma;
}
@font-face {
font-family: Verdana;
}
@page Section1 {size: 612.0pt 792.0pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; }
P.MsoNormal {
FONT-SIZE: 10pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: Arial
}
LI.MsoNormal {
FONT-SIZE: 10pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: Arial
}
DIV.MsoNormal {
FONT-SIZE: 10pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: Arial
}
A:link {
COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline
}
P {
FONT-SIZE: 12pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FONT-FAMILY: "Times New Roman"; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto
}
SPAN.EmailStyle18 {
COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal
}
SPAN.EmailStyle20 {
COLOR: navy; FONT-FAMILY: Arial; mso-style-type: personal-reply
}
DIV.Section1 {
page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV><SPAN class=007493416-12042007><FONT face="Courier New" color=#0000ff
size=2>Hello Mike + hobbits,</FONT></SPAN></DIV>
<DIV><SPAN class=007493416-12042007><FONT face="Courier New" color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=007493416-12042007><FONT face="Courier New" color=#0000ff
size=2>i wanted to have a first line in the hobbit message, so that i can
include this line in a sms alert.</FONT></SPAN></DIV>
<DIV><SPAN class=007493416-12042007><FONT face="Courier New" color=#0000ff
size=2>That's why i changed your script a little bit.</FONT></SPAN></DIV>
<DIV><SPAN class=007493416-12042007><FONT face="Courier New" color=#0000ff
size=2>It gives you "zfs - health: okay - capacity: okay" if all is
okay</FONT></SPAN></DIV>
<DIV><SPAN class=007493416-12042007><FONT face="Courier New" color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=007493416-12042007><FONT face="Courier New" color=#0000ff
size=2>Thanks</FONT></SPAN></DIV>
<DIV><SPAN class=007493416-12042007><FONT face="Courier New" color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=007493416-12042007><FONT face="Courier New" color=#0000ff
size=2>Uwe Kirbach</FONT></SPAN></DIV>
<DIV><SPAN class=007493416-12042007></SPAN> </DIV><SPAN
class=007493416-12042007><FONT color=#808080 size=1>
<DIV align=left><FONT face="Courier New" color=#0000ff size=2>EnBW Energie
Baden-Württemberg</FONT></DIV>
<DIV align=left><FONT face="Courier New" color=#0000ff size=2>Systeme
Infrastruktur Support GmbH</FONT></DIV>
<DIV align=left><FONT face="Courier New" color=#0000ff
size=2>Informationsverarbeitung Operations</FONT></DIV>
<DIV align=left><FONT face="Courier New" color=#0000ff
size=2>Infrastrukturbetrieb Unix</FONT></DIV>
<DIV align=left><FONT face="Courier New" color=#0000ff size=2>Sitz der
Gesellschaft: Karlsruhe</FONT></DIV>
<DIV align=left><FONT face="Courier New" color=#0000ff size=2>Handelsregister:
Amtsgericht Mannheim - HRB 108550</FONT></DIV>
<DIV align=left><FONT face="Courier New" color=#0000ff size=2>Vorsitzender des
Aufsichtsrats: Dr. Bernhard Beck</FONT></DIV>
<DIV align=left><FONT face="Courier New" color=#0000ff size=2>Geschäftsführer:
Jochen Adenau, Dr. Peter Krampf</FONT></DIV></FONT></SPAN>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=de dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Mike Rowell
[mailto:Mike.Rowell@Rightmove.co.uk] <BR><B>Sent:</B> Thursday, April 12, 2007
5:14 PM<BR><B>To:</B> hobbit@hswn.dk<BR><B>Subject:</B> RE: [hobbit] ZFS
Monitoring Script<BR><BR></FONT></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy">Sorry made a typo when trying some new
functionality, working version attached.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy">Mike<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy"><o:p> </o:p></SPAN></FONT></P>
<DIV>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT
face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'">
<HR tabIndex=-1 align=center width="100%" SIZE=2>
</SPAN></FONT></DIV>
<P class=MsoNormal><B><FONT face=Tahoma size=2><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT
face=Tahoma><SPAN style="FONT-FAMILY: Tahoma"> Mike Rowell
[mailto:Mike.Rowell@Rightmove.co.uk] <BR><B><SPAN
style="FONT-WEIGHT: bold">Sent:</SPAN></B> 12 April 2007 15:15<BR><B><SPAN
style="FONT-WEIGHT: bold">To:</SPAN></B> <st1:PersonName
w:st="on">hobbit@hswn.dk</st1:PersonName><BR><B><SPAN
style="FONT-WEIGHT: bold">Subject:</SPAN></B> [hobbit] ZFS Monitoring
Script</SPAN></FONT><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'"><o:p></o:p></SPAN></FONT></P></DIV>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt">Okay
here it is, it’s small but does the following.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt">File
system HEALTH.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt">ONLINE = green<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt">DEGRADED = yellow<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt">FAULTED = red<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt">File
system sizes are set to alert yellow at 80% capacity and red at 90%, the
variables to alter this are at the top of the file. It doesn’t check
scrub status as yet as I’m not to sure what the scrub will report back, so
once I’ve got some scrubbing underway I’ll adjust the script to take into
account scrubbing.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt">This
was something I threw together in 15minutes as we just realized that UFS would
not suit the requirements of a project and therefore we had to move to
ZFS. Enhancements I’m working on are to display all the storage devices
in the pools and their health and also read / write and checksum errors, but
they will have to wait for a bit.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal
style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><st1:PersonName
w:st="on"><st1:City w:st="on"><st1:place w:st="on"><STRONG><B><FONT
face=Verdana size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">Mike
Rowell</SPAN></FONT></B></STRONG></st1:place></st1:City></st1:PersonName><o:p></o:p></P>
<P class=MsoNormal
style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><FONT
face=Verdana size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">Systems Team
Leader</SPAN></FONT><B><FONT color=teal><SPAN
style="FONT-WEIGHT: bold; COLOR: teal"><BR></SPAN></FONT></B><BR><FONT
face=Wingdings color=teal size=1><SPAN
style="FONT-SIZE: 9pt; COLOR: teal; FONT-FAMILY: Wingdings">n</SPAN></FONT><FONT
size=1><SPAN style="FONT-SIZE: 9pt"> </SPAN></FONT><B><FONT face=Verdana
size=1><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 9pt; FONT-FAMILY: Verdana">Email:</SPAN></FONT></B><FONT
face=Verdana size=1><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: Verdana">
</SPAN></FONT><A href="mailto:Mike.Rowell@rightmove.co.uk"><FONT face=Verdana
size=1><SPAN
style="FONT-SIZE: 9pt; FONT-FAMILY: Verdana">Mike.Rowell@rightmove.co.uk</SPAN></FONT></A><FONT
face=Verdana size=1><SPAN
style="FONT-SIZE: 9pt; FONT-FAMILY: Verdana"><BR></SPAN></FONT><FONT
face=Wingdings color=teal size=1><SPAN
style="FONT-SIZE: 9pt; COLOR: teal; FONT-FAMILY: Wingdings">n</SPAN></FONT><B><FONT
face=Verdana size=1><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 9pt; FONT-FAMILY: Verdana">
Tel: 020 7514 9837</SPAN></FONT></B><FONT face=Verdana
size=1><SPAN
style="FONT-SIZE: 9pt; FONT-FAMILY: Verdana"><BR></SPAN></FONT><FONT
face=Wingdings color=teal size=1><SPAN
style="FONT-SIZE: 9pt; COLOR: teal; FONT-FAMILY: Wingdings">n</SPAN></FONT><FONT
face=Verdana size=1><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: Verdana">
<B><SPAN style="FONT-WEIGHT: bold">Fax:</SPAN></B> 0845 330
2311</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal
style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><FONT face=Arial
size=2><SPAN style="FONT-SIZE: 10pt"><A title=http://www.rightmove.co.uk/
href="http://www.rightmove.co.uk/"><B><FONT title=http://www.rightmove.co.uk/
face=Verdana color=teal size=1><SPAN title=http://www.rightmove.co.uk/><SPAN
title=http://www.rightmove.co.uk/><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 9pt; COLOR: teal; FONT-FAMILY: Verdana">www.rightmove.co.uk</SPAN></SPAN></SPAN></FONT></B></A></SPAN></FONT><B><FONT
face=Verdana color=teal size=1><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 9pt; COLOR: teal; FONT-FAMILY: Verdana">
- the <U1:COUNTRY-REGION><U1:PLACE></SPAN></FONT></B><st1:place
w:st="on"><st1:country-region w:st="on"><B><FONT face=Verdana color=teal
size=1><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 9pt; COLOR: teal; FONT-FAMILY: Verdana">UK</SPAN></FONT></B></st1:country-region></st1:place><B><FONT
face=Verdana color=teal size=1><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 9pt; COLOR: teal; FONT-FAMILY: Verdana"></U1:PLACE></U1:COUNTRY-REGION>'s
number 1 property website</SPAN></FONT></B><o:p></o:p></P>
<P style="TEXT-ALIGN: justify"><FONT face=Verdana color=teal size=1><SPAN
style="FONT-SIZE: 7.5pt; COLOR: teal; FONT-FAMILY: Verdana">This message
(including any attachments) is confidential and may be legally privileged. The
content and views ex<U1:PERSONNAME>press</U1:PERSONNAME>ed are those of the
sender and not necessarily Rightmove plc. If you are not the intended
recipient, you must not disclose, copy or use any part of it. Please delete
all copies immediately and notify the sender. Rightmove plc is registered in
<U1:COUNTRY-REGION><U1:PLACE><st1:country-region
w:st="on">England</st1:country-region></U1:PLACE></U1:COUNTRY-REGION> and
<U1:COUNTRY-REGION><U1:PLACE><st1:place w:st="on"><st1:country-region
w:st="on">Wales</st1:country-region></st1:place></U1:PLACE></U1:COUNTRY-REGION>,
No. 03997679. Registered Office: Rightmove plc,
<U1:STREET><U1:ADDRESS><st1:Street w:st="on"><st1:address w:st="on">Grafton
Court</st1:address></st1:Street></U1:ADDRESS></U1:STREET>,
<U1:ADDRESS><U1:STREET><st1:address w:st="on"><st1:address
w:st="on"><st1:Street w:st="on">Snowdon
Drive</st1:Street></st1:address></U1:STREET>, <U1:CITY><st1:City
w:st="on">Milton Keynes</st1:City></U1:CITY>, <U1:POSTALCODE><st1:PostalCode
w:st="on">MK6
1AJ</st1:PostalCode></st1:address></U1:POSTALCODE></U1:ADDRESS>.</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'"><BR>________________________________________________________________________<BR>This
email has been scanned for all viruses by the MessageLabs service.
<BR>________________________________________________________________________<BR><BR>________________________________________________________________________<BR>This
email has been scanned for all viruses by the MessageLabs
service.<o:p></o:p></SPAN></FONT></P></DIV><BR>________________________________________________________________________<BR>This
email has been scanned for all viruses by the MessageLabs service.
<BR>________________________________________________________________________<BR></BLOCKQUOTE></BODY></HTML>