<!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:m = 
"http://schemas.microsoft.com/office/2004/12/omml"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3354" name=GENERATOR>
<STYLE>@font-face {
        font-family: Cambria Math;
}
@font-face {
        font-family: Calibri;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.0in 1.0in 1.0in; }
P.MsoNormal {
        FONT-SIZE: 11pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Calibri","sans-serif"
}
LI.MsoNormal {
        FONT-SIZE: 11pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Calibri","sans-serif"
}
DIV.MsoNormal {
        FONT-SIZE: 11pt; MARGIN: 0in 0in 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 lang=EN-US vLink=purple link=blue>
<DIV dir=ltr align=left><SPAN class=589472213-18072008><FONT face=Arial 
color=#0000ff size=2>Well, I use HOST=hostname in hobbit-client.cfg instead of 
CLASS=classname, and then in client-local.cfg I use [hostname] instead of 
classname.  And it works on my Solaris 9 systems.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=589472213-18072008><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=589472213-18072008><FONT face=Arial 
color=#0000ff size=2>One caveat is that the Hobbit agent must be able to 
read the file -- is /etc/sudoers readable?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=589472213-18072008><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=589472213-18072008><FONT face=Arial 
color=#0000ff size=2>Finally, you can look at the client data returned by the 
agent for this host and see what is being returned for these files.  This 
can help you decide whether the problem is in the client-local.cfg part (which 
tells the remote agent what to watch) or the hobbit-client.cfg (which tells the 
server what to do with the data returned by the the Hobbit 
agent).</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=589472213-18072008><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=589472213-18072008><FONT face=Arial 
color=#0000ff size=2>GLH</FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2><B>From:</B> Denver Osborn 
  [mailto:denver@fni-stl.com] <BR><B>Sent:</B> Friday, July 18, 2008 7:36 
  AM<BR><B>To:</B> hobbit@hswn.dk<BR><B>Subject:</B> [hobbit] FILE monitor and 
  mtime<600 troubleshooting<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>I’m running Hobbit 4.2.0 with the allinone patch on hpux 
  and can’t get the FILE monitor to work. I’ve added the required file: entry in 
  the client-local.cfg for the host, then put the FILE directive in the 
  hobbit-clients.cfg file. After adding the monitor, the BBDISPLAY picks up the 
  new file and shows it as ‘green’. When testing the monitor by changing the 
  mtime of my file, hobbit doesn’t alert on the change.<o:p></o:p></P>
  <P class=MsoNormal><o:p> </o:p></P>
  <P class=MsoNormal>Here’s my hobbit-client.cfg entry:<o:p></o:p></P>
  <P class=MsoNormal><o:p> </o:p></P>
  <P class=MsoNormal>CLASS=classname<o:p></o:p></P>
  <P class=MsoNormal>         FILE 
  /etc/sudoers yellow mtime<600<o:p></o:p></P>
  <P class=MsoNormal><o:p> </o:p></P>
  <P class=MsoNormal>The client-local.cfg entry:<o:p></o:p></P>
  <P class=MsoNormal><o:p> </o:p></P>
  <P class=MsoNormal>[classname]<o:p></o:p></P>
  <P class=MsoNormal>file:/etc/sudoers<o:p></o:p></P>
  <P class=MsoNormal><o:p> </o:p></P>
  <P class=MsoNormal><o:p> </o:p></P>
  <P class=MsoNormal>Has anyone else seen this before or have any advice on how 
  to troubleshoot?<o:p></o:p></P>
  <P class=MsoNormal><o:p> </o:p></P>
  <P class=MsoNormal><o:p> </o:p></P>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">Thanks,</SPAN><o:p></o:p></P>
  <P class=MsoNormal> <o:p></o:p></P>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">Denver 
  Osborn</SPAN><o:p></o:p></P>
  <P class=MsoNormal><o:p> </o:p></P></DIV></BLOCKQUOTE></BODY></HTML>