Re: Monit : unmonitor during logrotate

Tino Hendricks <[email protected]>
Newsgroups gmane.comp.monitoring.monit.general
Message-ID <[email protected]>
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 ([email protected]) 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

-- 
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.