couple random thoughts:
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 :)
From: xymon-bounces at xymon.com [xymon-bounces at xymon.com] On Behalf Of Josh Luthman [user-4c45a83f15cb@xymon.invalid]
Sent: Friday, July 29, 2011 7:40 AM
To: xymon at xymon.com
Subject: [Xymon] Looking for "page too old" script
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.
Thanks in advance!
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX