<html>

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">


<meta name=Generator content="Microsoft Word 10 (filtered)">

<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {margin-right:0in;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Thanks. Since there are only 6 separate
directories to check I listed them all individually in the client-local.cfg
file. The wildcards work fine in the hobbit-clients.cfg file. Thanks again.</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> sholmes42@gmail.com
[mailto:sholmes42@gmail.com] <b><span style='font-weight:bold'>On Behalf Of </span></b>Steve
Holmes<br>
<b><span style='font-weight:bold'>Sent:</span></b> Friday, March 14, 2008 2:35
PM<br>
<b><span style='font-weight:bold'>To:</span></b> hobbit@hswn.dk<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [hobbit] Regular Expression
problem</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>I think the problem is that the file list produced by
the ls in the back ticks is showing up as a list all on one line rather than a
list of files one per line. Not absolutely sure about that, but if you do an
echo `ls -1d ./someregexp` it produces one line of output. It might work to
actually write a script to make sure the output has newlines between the
 file names and then run that in the hobbit config instead of the
ls. </span></font></p>

<div>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>Beyond that I have no idea.</span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>Steve.</span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-right:0in;margin-bottom:12.0pt;margin-left:
.5in'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>

<div>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>On Thu, Mar 13, 2008 at 12:48 PM, Manocchia, Robert
<<a href="mailto:Robert-Manocchia@idexx.com">Robert-Manocchia@idexx.com</a>>
wrote:</span></font></p>

<div link=blue vlink=blue>

<div>

<p style='margin-left:.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>    
The files do not show up in the client data listing on the server</span></font></p>

<p style='margin-left:.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'> </span></font></p>

<p style='margin-left:.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>           
I tried the following in local-clients.cfg: file:`ls -1d
/usr/sap/PRD/D01/work/core` and it worked. It just doesn't like the D0*
expression.</span></font></p>

<p style='margin-left:.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'> </span></font></p>

<p style='margin-left:.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>           
Here is the cut and paste for each</span></font></p>

<p style='margin-left:.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'> </span></font></p>

<p style='margin-left:.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>           
local-clients.cfg:</span></font> <font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>file:`ls -1d
/usr/sap/PRD/D01/work/core`</span></font></p>

<div>

<p style='margin-left:.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>           
hobbit-clients.cfg: FILE "%/usr/sap/PRD/D0.*/work/core" NOEXIST
yellow</span></font></p>

<p style='margin-left:.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'> </span></font></p>

<p style='margin-left:.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>           
</span></font></p>

<p style='margin-left:.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'> </span></font></p>

</div>

<div>

<div>

<p style='margin-left:1.0in'><font size=2 face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> <a
href="mailto:sholmes42@gmail.com" target="_blank">sholmes42@gmail.com</a>
[mailto:<a href="mailto:sholmes42@gmail.com" target="_blank">sholmes42@gmail.com</a>]
<b><span style='font-weight:bold'>On Behalf Of </span></b>Steve Holmes<br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, March 13, 2008
10:29 AM<br>
<b><span style='font-weight:bold'>To:</span></b> <a href="mailto:hobbit@hswn.dk"
target="_blank">hobbit@hswn.dk</a><br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [hobbit] Regular
Expression problem</span></font></p>

<p style='margin-left:1.0in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>

<p style='margin-left:1.0in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>Robert, </span></font></p>

<div>

<p style='margin-left:1.0in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>

</div>

<div>

<p style='margin-left:1.0in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>Do the files show up in the client data listing on the
server?</span></font></p>

</div>

<div>

<p style='margin-left:1.0in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>You might need to put the match string in the FILE
statement in hobbit-clients.cfg in double quotes. </span></font></p>

</div>

<div>

<p style='margin-left:1.0in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>

</div>

<div>

<p style='margin-right:0in;margin-bottom:12.0pt;margin-left:1.0in'><font
size=3 face="Times New Roman"><span style='font-size:12.0pt'>Steve.</span></font></p>

<div>

<p style='margin-left:1.0in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>On Thu, Mar 13, 2008 at 9:47 AM, Manocchia, Robert
<<a href="mailto:Robert-Manocchia@idexx.com" target="_blank">Robert-Manocchia@idexx.com</a>>
wrote:</span></font></p>

<div link=blue vlink=purple>

<div>

<p style='margin-left:1.0in'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>           
I have the following scenario. I want to monitor the creation of core files in
the following directories /usr/sap/PRD/D01/work, /usr/sap/PRD/D02/work,
usr/sap/PRD/D03/work, /usr/sap/PRD/D04/work, /usr/sap/PRD/D05/work, and
/usr/sap/PRD/D06/work.</span></font></p>

<p style='margin-left:1.0in'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'> </span></font></p>

<p style='margin-left:1.0in'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>           
I have the following:</span></font></p>

<p style='margin-left:1.0in'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'> </span></font></p>

<p style='margin-left:2.25in;text-indent:-.25in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>1.</span></font><font size=1><span
style='font-size:7.5pt'>       </span></font><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>In
client-local.cfg: [server1]</span></font></p>

<p style='margin-left:2.0in'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>                                   
File:`ls -1d /usr/sap/PRD/D0*/work/core`</span></font></p>

<p style='margin-left:2.0in'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'> </span></font></p>

<p style='margin-left:2.25in;text-indent:-.25in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>2.</span></font><font size=1><span
style='font-size:7.5pt'>       </span></font><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>In hobbit-clients.cfg:
FILE %/usr/sap/PRD/D0.*/work/core NOEXIST yellow</span></font></p>

<p style='margin-left:1.0in'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'> </span></font></p>

<p style='margin-left:2.25in;text-indent:-.25in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>3.</span></font><font size=1><span
style='font-size:7.5pt'>       </span></font><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>And in
hobbit-alerts.cfg: MAIL <a href="mailto:Me@domain.com" target="_blank">Me@domain.com</a>
COLOR=yellow RECOVERED</span></font></p>

<p style='margin-left:1.0in'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'> </span></font></p>

<p style='margin-left:1.0in'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>           
This is not working. When click on the files for this server I do not see these
files being selected.</span></font></p>

<p style='margin-left:1.0in'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'> </span></font></p>

<p style='margin-left:1.0in'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>           
Any help would be appreciated.</span></font></p>

</div>

</div>

</div>

<p style='margin-left:1.0in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><br>
<br clear=all>
<br>
-- <br>
There is no greater gift to an insecure leader that quite matches a vague enemy
who can be used to whip up fear and hatred among the population.<br>
-Paul Rusesabagina, humanitarian (b. 1954)<br>
<br>
Human beings are perhaps never more frightening than when they are<br>
convinced beyond doubt that they are right. -Laurens van der Post, explorer<br>
and writer (1906-1996) </span></font></p>

</div>

</div>

</div>

</div>

</div>

</div>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><br>
<br clear=all>
<br>
-- <br>
There is no greater gift to an insecure leader that quite matches a vague enemy
who can be used to whip up fear and hatred among the population.<br>
-Paul Rusesabagina, humanitarian (b. 1954)<br>
<br>
Human beings are perhaps never more frightening than when they are<br>
convinced beyond doubt that they are right. -Laurens van der Post, explorer<br>
and writer (1906-1996) </span></font></p>

</div>

</div>

</body>

</html>