<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word"><head><META content="text/html; charset=utf-8" http-equiv="Content-Type">

<STYLE><!--         /* Style Definitions */         p.99670c5c-0024-4928-a1e9-60eee695edfa, li.99670c5c-0024-4928-a1e9-60eee695edfa, div.99670c5c-0024-4928-a1e9-60eee695edfa, table.99670c5c-0024-4928-a1e9-60eee695edfaTable         {margin:0cm;    margin-bottom:.0001pt;}        div.Section1        {page:Section1;}        --> <!--          #99670c5c-0024-4928-a1e9-60eee695edfaexcontact a{color:white;text-decoration:none;}          #99670c5c-0024-4928-a1e9-60eee695edfaexcontact a:hover{text-decoration:underline;}          --></STYLE>

<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META content="MSHTML 6.00.3790.4639" name=GENERATOR>
<STYLE>@font-face {
        font-family: Cambria Math;
}
@font-face {
        font-family: Calibri;
}
@page Section1 {size: 612.0pt 792.0pt; margin: 72.0pt 72.0pt 72.0pt 72.0pt; }
P.MsoNormal {
        FONT-SIZE: 11pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Calibri","sans-serif"
}
LI.MsoNormal {
        FONT-SIZE: 11pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Calibri","sans-serif"
}
DIV.MsoNormal {
        FONT-SIZE: 11pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Calibri","sans-serif"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.EmailStyle17 {
        COLOR: windowtext; FONT-FAMILY: "Calibri","sans-serif"; mso-style-type: personal-compose
}
.MsoChpDefault {
        mso-style-type: export-only
}
DIV.Section1 {
        page: Section1
}
</STYLE>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]--></head><BODY>
<DIV align=left dir=ltr><FONT color=#0000ff face=Arial size=2><SPAN class=479320004-10032010>Dana,<BR></SPAN></FONT></DIV>
<DIV align=left dir=ltr><FONT color=#0000ff face=Arial size=2><SPAN class=479320004-10032010>A script run from the backup server which sends a 
status for each individual server with a backup on the backup 
server.   So you have a list of servers with images on the backup 
server like:</SPAN></FONT></DIV>
<DIV align=left dir=ltr><FONT color=#0000ff face=Arial size=2><SPAN class=479320004-10032010></SPAN></FONT> </DIV>
<DIV align=left dir=ltr><FONT color=#0000ff face=Arial size=2><SPAN class=479320004-10032010>servera</SPAN></FONT></DIV>
<DIV align=left dir=ltr><FONT color=#0000ff face=Arial size=2><SPAN class=479320004-10032010>serverb</SPAN></FONT></DIV>
<DIV align=left dir=ltr><FONT color=#0000ff face=Arial size=2><SPAN class=479320004-10032010>serverc</SPAN></FONT></DIV>
<DIV align=left dir=ltr><FONT color=#0000ff face=Arial size=2><SPAN class=479320004-10032010>....</SPAN></FONT></DIV>
<DIV align=left dir=ltr><FONT color=#0000ff face=Arial size=2><SPAN class=479320004-10032010></SPAN></FONT> </DIV>
<DIV align=left dir=ltr><FONT color=#0000ff face=Arial size=2><SPAN class=479320004-10032010>process the list in a loop like</SPAN></FONT></DIV>
<DIV align=left dir=ltr><FONT color=#0000ff face=Arial size=2><SPAN class=479320004-10032010></SPAN></FONT> </DIV>
<DIV align=left dir=ltr><FONT color=#0000ff face=Arial size=2><SPAN class=479320004-10032010>for SVR in SERVERS</SPAN></FONT></DIV>
<DIV align=left dir=ltr><FONT color=#0000ff face=Arial size=2><SPAN class=479320004-10032010>do</SPAN></FONT></DIV>
<DIV align=left dir=ltr><FONT color=#0000ff face=Arial size=2><SPAN class=479320004-10032010></SPAN></FONT> </DIV>
<DIV align=left dir=ltr><FONT color=#0000ff face=Arial size=2><SPAN class=479320004-10032010>if [ -f $SVR.image];then</SPAN></FONT></DIV>
<DIV align=left dir=ltr><FONT color=#0000ff face=Arial size=2><SPAN class=479320004-10032010>   Color=green</SPAN></FONT></DIV>
<DIV align=left dir=ltr><FONT color=#0000ff face=Arial size=2><SPAN class=479320004-10032010>   STATMSG="Image file found 
OK!"</SPAN></FONT></DIV>
<DIV align=left dir=ltr><FONT color=#0000ff face=Arial size=2><SPAN class=479320004-10032010>else</SPAN></FONT></DIV>
<DIV align=left dir=ltr><FONT color=#0000ff face=Arial size=2><SPAN class=479320004-10032010>   Color=red</SPAN></FONT></DIV>
<DIV align=left dir=ltr><FONT color=#0000ff face=Arial size=2><SPAN class=479320004-10032010>   STATMSG="Image file not 
found!"</SPAN></FONT></DIV>
<DIV align=left dir=ltr><FONT color=#0000ff face=Arial size=2><SPAN class=479320004-10032010>fi</SPAN></FONT></DIV>
<DIV align=left dir=ltr><FONT color=#0000ff face=Arial size=2><SPAN class=479320004-10032010>    $BBCMD $BBDISP "status ${SVR}.image 
$Color $STATMSG"</SPAN></FONT></DIV>
<DIV align=left dir=ltr><FONT color=#0000ff face=Arial size=2><SPAN class=479320004-10032010>done</SPAN></FONT></DIV>
<DIV align=left dir=ltr><FONT color=#0000ff face=Arial size=2><SPAN class=479320004-10032010></SPAN></FONT> </DIV>
<DIV align=left dir=ltr><FONT color=#0000ff face=Arial size=2><SPAN class=479320004-10032010></SPAN></FONT><FONT color=#0000ff face=Arial size=2><SPAN class=479320004-10032010>In this way, each individual server gets 
an "image" test which shows the status of that file on the backup 
server.   The script is run fro the xymon client on the backup 
server.</SPAN></FONT></DIV>
<DIV align=left dir=ltr><FONT color=#0000ff face=Arial size=2><SPAN class=479320004-10032010></SPAN></FONT> </DIV>
<DIV align=left dir=ltr><FONT color=#0000ff face=Arial size=2><SPAN class=479320004-10032010>     
.......Bruce</SPAN></FONT></DIV>
<DIV align=left dir=ltr><FONT color=#0000ff face=Arial size=2><SPAN class=479320004-10032010> </DIV></SPAN></FONT><BR>
<DIV align=left class=OutlookMessageHeader dir=ltr lang=en-us>
</DIV> 
<P CLASS="99670c5c-0024-4928-a1e9-60eee695edfa"> <FONT SIZE="+0"></FONT></P>
<P CLASS="99670c5c-0024-4928-a1e9-60eee695edfa"> <FONT FACE="Arial"><FONT SIZE="2"><FONT COLOR="#999999"><FONT COLOR="#000000"><STRONG>Bruce<FONT COLOR="#808080"><FONT COLOR="#000000"> White</FONT></FONT></STRONG></FONT></FONT></FONT></FONT></P>
<P CLASS="99670c5c-0024-4928-a1e9-60eee695edfa"><FONT FACE="Arial"><FONT SIZE="2"><FONT COLOR="#808080"> Senior Enterprise Systems Engineer | Phone: 630-671-5169 | Fax: 630-893-1648 | bewhite@fellowes.com | <A HREF="http://www.fellowes.com/">www.fellowes.com</A></FONT></FONT></FONT></P>
<P CLASS="99670c5c-0024-4928-a1e9-60eee695edfa"><FONT FACE="Arial" SIZE="2"></FONT> </P>
<P CLASS="99670c5c-0024-4928-a1e9-60eee695edfa"><IMG ALIGN="baseline" ALT="" BORDER="0" HSPACE="0" SRC="cid:fellbrand1.jpg@65c7c08a.afdc42aa"> </P>
<P CLASS="99670c5c-0024-4928-a1e9-60eee695edfa"><FONT FACE="Arial" SIZE="2"></FONT> </P>
<P CLASS="99670c5c-0024-4928-a1e9-60eee695edfa"><FONT SIZE="+0"></FONT><STRONG></STRONG><FONT SIZE="+0"></FONT><FONT SIZE="+0"></FONT><FONT SIZE="+0"></FONT><FONT COLOR="#808080" FACE="Arial" SIZE="1">Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Fellowes, Inc.</FONT></P>
<P CLASS="99670c5c-0024-4928-a1e9-60eee695edfa"><FONT FACE="Arial" SIZE="2"></FONT> </P>
<P CLASS="99670c5c-0024-4928-a1e9-60eee695edfa"><FONT FACE="Arial" SIZE="2"><DIV align=left class=OutlookMessageHeader dir=ltr lang=en-us><HR tabIndex=-1></DIV><DIV align=left class=OutlookMessageHeader dir=ltr lang=en-us>
<FONT face=Tahoma size=2><B>From:</B> Dana Pearson 
[mailto:Dana.Pearson@coles.com.au] <BR><B>Sent:</B> Tuesday, March 09, 2010 5:59 
PM<BR><B>To:</B> 'hobbit@hswn.dk'<BR><B>Subject:</B> [hobbit] Monitoring from 
the Hobbit Server for each client ?<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal>Hi,<o:p></o:p></P>
<P class=MsoNormal><o:p> </o:p></P>
<P class=MsoNormal>My site has 200 Linux servers.  <o:p></o:p></P>
<P class=MsoNormal>A Recovery Image file exists on a Linux Backup Server for 
every Linux server.<o:p></o:p></P>
<P class=MsoNormal>The Backup server starts the process to create the Recovery 
Image and stores it on one of its filesystems.<o:p></o:p></P>
<P class=MsoNormal><o:p> </o:p></P>
<P class=MsoNormal>How can I display in Hobbit red/green alert for each Linux 
server when the file exists only on the backup server (not on each individual 
server).<o:p></o:p></P>
<P class=MsoNormal>Can a script be run from the Hobbit server to display the 
status for each client ?<o:p></o:p></P>
<P class=MsoNormal>Has someone got an example ?<o:p></o:p></P>
<P class=MsoNormal><o:p> </o:p></P>
<P class=MsoNormal><B><I><SPAN style="FONT-SIZE: 8pt; COLOR: teal; FONT-FAMILY: 'Arial','sans-serif'">Regards<o:p></o:p></SPAN></I></B></P>
<P class=MsoNormal><B><I><SPAN style="FONT-SIZE: 8pt; COLOR: teal; FONT-FAMILY: 'Arial','sans-serif'">Dana</SPAN></I></B><o:p></o:p></P></DIV><BR>______________________________________________________________________<BR>This 
email and any attachments may contain privileged and confidential<BR>information 
and are intended for the named addressee only. If you have<BR>received this 
e-mail in error, please notify the sender and delete<BR>this e-mail immediately. 
Any confidentiality, privilege or copyright<BR>is not waived or lost because 
this e-mail has been sent to you in<BR>error. It is your responsibility to check 
this e-mail and any<BR>attachments for viruses. No warranty is made that this 
material is<BR>free from computer virus or any other defect or error. 
Any<BR>loss/damage incurred by using this material is not the 
sender's<BR>responsibility. The sender's entire liability will be limited 
to<BR>resupplying the 
material.<BR>______________________________________________________________________<BR></FONT></P></BODY></HTML>