Re: stateful rules
Lutz Mader <[email protected]> Mon, 1 Mar 2021 07:59:23 +0100
| Newsgroups | gmane.comp.monitoring.monit.general |
|---|---|
| Message-ID | <[email protected]> |
Hello Craig, you can not change the monit configuration dynamically via monit commands. > Eventually this will trigger the timeout rule, but in this case if, when > monit sees the buffer stalled message, it could switch to a much shorter > timeout, it would greatly improve the system. once the recovery message is > printed it would need to go back to the longer timeout. > > I have tried to implement this with target actions which start and stop > services on the same log, but this is unreliable. To define an additional service, is the only way to implement this, as far I know. With regards, Lutz