monit-general
[Top][All Lists]
Advanced

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

Re: Monit : unmonitor during logrotate


From: Tino Hendricks
Subject: Re: Monit : unmonitor during logrotate
Date: Mon, 6 Nov 2017 11:48:37 +0100

Hi Gaston,

how about using logrotate’s „prerotate“ and „postrotate" lines for something like

prerotate monit unmonitor blah endscript


https://linux.die.net/man/8/logrotate

Best,

Tino

Am 6. November 2017 um 11:29:38, tonthon (address@hidden) schrieb:

Hi,

Sometimes monit check services (and in my case restart them) while they are rotating their logs.

Do somebody faced the same problem ?

Is there some good practice to avoid monitoring during logrotate ?

Thanks in advance

Regards

Gaston Tjebbes

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

reply via email to

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