[Xymon] File check question

Betsy Schwartz betsy.schwartz at gmail.com
Sun Dec 15 03:03:33 CET 2013


I think I'd just use a really short local ext script, along the lines of
if ((file exists) and (mtime >15)) then red else green


On Sat, Dec 14, 2013 at 7:50 PM, Galen Johnson <solitaryr at gmail.com> wrote:

> Well, this sucks.  Since I'm monitoring a tmp file, it only needs to
> trigger if the file is older than 15 minutes.  However, if I use noexist,
> is squawks if it exists, if I don't it squawks when it doesn't. Ultimately,
> I don't care if it is there or not, only that it isn't older than 15
> minutes if it does exist.  I'm stumped...maybe setting delayred to 20???
> Anyone else ever had to solve this?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20131214/ee1b00a3/attachment.html>


More information about the Xymon mailing list