Thanks for the response!

I've tried this. I just don't like hard coding more time values in the config. 
Saying "not changed" makes the monit daemon interval the only configurable time 
value.

From: monit-general 
[mailto:[email protected]] On Behalf Of 
Chris McGinley
Sent: Thursday, May 19, 2016 3:07 PM
To: This is the general mailing list for monit <[email protected]>
Subject: Re: Timestamp Not Changed

Perhaps you could check the age of the timestamp; for example:

    if timestamp > 2 hour then alert
Chris McGinley, CISSP, CCE
[email protected]<mailto:[email protected]>

BTB Security
www.btbsecurity.com<http://www.btbsecurity.com>
On 05/19/2016 12:05 PM, Dominic Harkness wrote:
Hi all,

I have an application that should touch a file periodically. If it doesn't I'd 
like monit to execute some script. The monit documentation show a check for "if 
timestamp changed." Is there some way I can check "if timestamp NOT changed?"

Thanks,
Dominic




--

To unsubscribe:

https://lists.nongnu.org/mailman/listinfo/monit-general

--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to