<div dir='auto'>Hi Scot,<div dir="auto"><br></div><div dir="auto">the command-substitution-style filename in analysis.cfg might be it. Try to convert that to a regex. As your client-local.cfg only sends data for your "good" files anyway this should produce the desired state.</div><div dir="auto"><br></div><div dir="auto">All the best</div><div dir="auto">Thomas</div><br><div class="gmail_extra" dir="auto"><br><div class="gmail_quote">On Nov 8, 2018 02:39, Scot Kreienkamp <Scot.Kreienkamp@la-z-boy.com> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
<div>
<p>Hi everyone,</p>
<p> </p>
<p>I’m trying to monitor for the existence of some files.  I have the entries in client-local.config, and when the files exist they are being reported back properly.  I can see the data about each file when I click on it in the files area
 for the server.  The problem comes when the files don’t exist.  The files entry for the server remains green, but when I click on the file that I’m monitoring it says ERROR: No such file or directory.  So Xymon client is sending back that it doesn’t exist,
 but yet Xymon is still green.  </p>
<p> </p>
<p>Here’s the client-local.cfg for that server:</p>
<p> </p>
<p>[retvpgpdbak.na.lzb.hq]</p>
<p>file:`echo /automount/PITR/retvpgpdbak.na.lzb.hq/rms-prod-$(date +%F).pgc`</p>
<p>file:`echo /automount/PITR/retvpgpdbak.na.lzb.hq/rms-prod-$(date +%F).sql.gz`</p>
<p>file:`echo /automount/PITR/retvpgpdbak.na.lzb.hq/basebackup-$(date +%F).tgz`</p>
<p>file:`echo /automount/PITR/retvpgpdbak.na.lzb.hq/quartz-$(date +%F).pgc`</p>
<p>file:`echo /automount/PITR/retvpgpdbak.na.lzb.hq/quartz-$(date +%F).sql.gz`</p>
<p> </p>
<p>And the analysis.cfg</p>
<p> </p>
<p>HOST=retvpgpdbak.na.lzb.hq</p>
<p>        FILE `echo /automount/PITR/retvpgpdbak.na.lzb.hq/rms-prod-$(date +%F).pgc` red  TYPE=file SIZE>0 MTIME<108000
</p>
<p> </p>
<p> </p>
<p>From the man-page, Xymon is supposed to send an alert if the file doesn’t exist… So the only thing I can think of is that my analysis.cfg entry is wrong somehow. 
</p>
</div>
<p style="font-family:'arial narrow';line-height:14px"><strong><span style="font-size:9pt">Scot Kreienkamp | Senior Systems Engineer | La-Z-Boy Corporate</span></strong><br>
<span style="font-family:'calibri'"><span style="font-size:8pt">One La-Z-Boy Drive | Monroe, Michigan 48162  |<span style="font-size:10pt"><span style="font-size:8pt"></span> </span></span><span style="font-size:8pt"><span style="font-size:10pt"><span style="font-size:10pt;font-family:'wingdings';color:black">(</span></span><span style="font-size:10pt"> 734-384-6403</span></span><span style="font-size:8pt"><span style="font-size:10pt"><span style="font-size:8pt"></span>
 | <font face="Tahoma">|</font><span style="font-size:8pt"><span style="font-family:'calibri'"></span></span><font face="Tahoma">
</font><span style="font-size:9pt;font-family:'wingdings';color:black">)</span><span style="font-size:8pt"> <span style="font-size:9pt">7349151444</span></span><span style="font-size:8pt"></span></span></span></span><span style="font-size:8pt"><span style="font-family:'calibri'"> </span>| <span style="font-family:'calibri'"><span style="font-size:10pt;font-family:'wingdings';color:black">*</span></span>  </span><span style="font-size:8pt;font-family:'calibri'"><a href="mailto:%7BE-mail%7D">Scot.Kreienkamp@la-z-boy.com</a><br>
</span><span style="font-size:8pt"><a href="http://www.la-z-boy.com/">www</a></span><span style="font-family:'calibri'"><span style="font-size:8pt;font-family:'arial narrow'"><a href="http://www.la-z-boy.com/">.la-z-boy.com</a>
 | <a href="https://www.facebook.com/lazboy">facebook.</a></span></span><span style="font-size:8pt"><a href="https://www.facebook.com/lazboy">com</a></span><span style="font-family:'calibri'"><span style="font-size:8pt;font-family:'arial narrow'"><a href="https://www.facebook.com/lazboy">/</a></span><span style="font-size:8pt"><a href="http://facebook.com/lazboy">lazboy</a></span><span style="font-size:8pt;font-family:'arial narrow'"> | </span><span style="font-size:8pt"><a href="https://twitter.com/lazboy">twitter.com/lazboy</a>
 | <a href="https://www.youtube.com/user/lazboy">youtube.com/</a></span><span style="font-size:8pt"><a href="https://www.youtube.com/user/lazboy">lazboy</a><br>
<br>
</span></span><img alt="" src="cid:lzbVertical_hres.jpg">  </p>
<p style="font-family:'arial narrow';line-height:14px"> </p>
<p style="font-family:'arial narrow';line-height:14px"><span style="font-size:8pt;font-family:'arial narrow'"><span style="font-size:8pt;font-family:'arial narrow'">This
</span></span><span style="font-size:8pt"><span style="font-size:8pt">message</span><span style="font-size:8pt"> is intended
</span></span><span style="font-size:8pt"><span style="font-size:8pt">only</span></span><span style="font-size:8pt"><span style="font-size:8pt"> for t</span></span><span style="font-size:8pt;font-family:'arial narrow'"><span style="font-size:8pt;font-family:'arial narrow'">he
 individual or entity to which it is addressed.  It may contain privileged, confidential information which is exempt from disclosure under applicable laws.  If you are not the intended recipient, you are strictly prohibited from disseminating or distributing
 this information (other than to the intended recipient) or copying this information.  If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you.</span></span></p>
</div>
</blockquote></div><br></div></div>