monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Timestamp Not Changed


From: Dominic Harkness
Subject: RE: Timestamp Not Changed
Date: Thu, 19 May 2016 19:12:24 +0000

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:monit-general-bounces+address@hidden On Behalf Of Chris McGinley
Sent: Thursday, May 19, 2016 3:07 PM
To: This is the general mailing list for monit <address@hidden>
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
address@hidden

BTB Security
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

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]