Tim,<br><br>I have that right now.  But I don't see how the server is going to know what the file meta data is unless it's sent to the server somehow.<br><br>At this time, probably about half an hour after I added it, the test is still white.  I'm almost 100% sure hobbit-clients.cfg changes doesn't require a restart.<br>

<br clear="all">Josh Luthman<br>Office: 937-552-2340<br>Direct: 937-552-2343<br>1100 Wayne St<br>Suite 1337<br>Troy, OH 45373<br>
<br><br><div class="gmail_quote">On Fri, Jul 29, 2011 at 2:34 PM, Tim McCloskey <span dir="ltr"><<a href="mailto:tm@freedom.com">tm@freedom.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

If your system is setup to store the client data on the central server you can have something like the following in hobbit-clients.cfg.<br>
<br>
HOST=somehost GROUP=optional-some-group<br>
FILE /some/path/tofile.ext SIZE<55M and SIZE>0 red<br>
<br>
Client-local can take a host name too -- I think....<br>
<br>
<br>
<br>
________________________________________<br>
From: Josh Luthman [<a href="mailto:josh@imaginenetworksllc.com">josh@imaginenetworksllc.com</a>]<br>
Sent: Friday, July 29, 2011 11:24 AM<br>
To: Tim McCloskey<br>
Cc: <a href="mailto:xymon@xymon.com">xymon@xymon.com</a><br>
Subject: Re: [Xymon] Looking for "page too old" script<br>
<div class="im"><br>
The page is set to expire immediately and usually the cache problems are the browser/client.  At least in my experience.<br>
<br>
On hobbit-clients.cfg for the host (it has proc tests already) I added:<br>
<br>
FILE   /var/www/foo/bar/output.png red mtime<1800 #go red if file older than 30 minutes<br>
<br>
How do I get the client to send the details about this file?  From reading the man page I need to specify client-local.cfg but I am not sure what goes in this.  I'm pretty sure I want:<br>
<br>
file:/var/www/foo/bar/output.png<br>
<br>
Do I put this under [linux]?  If I do this, will it only have the clients with an appropriate FILE check or ask this file of every linux box?<br>
<br>
Josh Luthman<br>
Office: <a href="tel:937-552-2340" value="+19375522340">937-552-2340</a><br>
Direct: <a href="tel:937-552-2343" value="+19375522343">937-552-2343</a><br>
1100 Wayne St<br>
Suite 1337<br>
Troy, OH 45373<br>
<br>
<br>
</div><div class="im">On Fri, Jul 29, 2011 at 11:58 AM, Tim McCloskey <<a href="mailto:tm@freedom.com">tm@freedom.com</a><mailto:<a href="mailto:tm@freedom.com">tm@freedom.com</a>>> wrote:<br>
couple random thoughts:<br>
Would HTTP cache control headers help in this regard?  You can poll a page via wget or some other mechanism and look at the page headers, that won't tell you if the image is old but if the page is regenerated on each image update it may work... If you have shell access to the server:/image.file you could test the mac times...  Or, toss in some logic to catch the bugz :)<br>


________________________________________<br>
</div>From: <a href="mailto:xymon-bounces@xymon.com">xymon-bounces@xymon.com</a><mailto:<a href="mailto:xymon-bounces@xymon.com">xymon-bounces@xymon.com</a>> [<a href="mailto:xymon-bounces@xymon.com">xymon-bounces@xymon.com</a><mailto:<a href="mailto:xymon-bounces@xymon.com">xymon-bounces@xymon.com</a>>] On Behalf Of Josh Luthman [<a href="mailto:josh@imaginenetworksllc.com">josh@imaginenetworksllc.com</a><mailto:<a href="mailto:josh@imaginenetworksllc.com">josh@imaginenetworksllc.com</a>>]<br>


<div class="im">Sent: Friday, July 29, 2011 7:40 AM<br>
</div>To: <a href="mailto:xymon@xymon.com">xymon@xymon.com</a><mailto:<a href="mailto:xymon@xymon.com">xymon@xymon.com</a>><br>
<div class="im">Subject: [Xymon] Looking for "page too old" script<br>
<br>
I have a tsch script that does some things, manipulates and image and such and posts it on a web site.  Occasionally, I have found a bug or two where the image stops updating.  I don't know this until it is too late.  Is there any sort of technique or custom script that will poll a website and see if something is to old?  I'm at a bit of a loss as to how to correctly indicate a problem and hoping there is something I can start from already.<br>


<br>
Thanks in advance!<br>
<br>
Josh Luthman<br>
</div>Office: <a href="tel:937-552-2340" value="+19375522340">937-552-2340</a><tel:<a href="tel:937-552-2340" value="+19375522340">937-552-2340</a>><br>
Direct: <a href="tel:937-552-2343" value="+19375522343">937-552-2343</a><tel:<a href="tel:937-552-2343" value="+19375522343">937-552-2343</a>><br>
<div><div></div><div class="h5">1100 Wayne St<br>
Suite 1337<br>
Troy, OH 45373<br>
<br>
</div></div></blockquote></div><br>