Hi, combined check like this is currently not supported - you can use the "check program" to implement custom script, that will return failure if all files are old: https://mmonit.com/monit/documentation/monit.html#PROGRAM-STATUS-TESTING
Best regards, Martin > On 11 Jul 2016, at 14:18, Johan Ryberg <[email protected]> wrote: > > Hi, > > I have a daemon that generates > 20 different log files. > > It's OK if one or more stops updating but if ALL stop to update I want > to restart the daemon after 15 min. > > I manged to monitor them one by one but monit restarts the daemon if > one file stops updating and that is normal. > > Can I configure monit to restart if logfile1 and logfile2 and logfile3 > and logfile4 stops to update? > > Best regards Johan > > -- > To unsubscribe: > https://lists.nongnu.org/mailman/listinfo/monit-general -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
