Hello, I would like to reconfigure Monit to manage all installed services on my Debian Bullseye running ISPConfig3. After running setup_monit.php from this tutorial, the restart fails with this message: Code: /etc/monit/conf-enabled/mariadb:6: The number of events must be between 1 and less then poll cycles '2' What should I do to solve this error? I have not found anything helping, it seams I should use set-daemon option but I don't find how to specify it. It also looks like I failed with monitoring SSH because I don't use DSA key and replacing it by ed25519 does not help. Thanks.
In the line Code: if failed unixsocket /var/run/mysqld/mysqld.sock protocol mysql for 3 times within 2 cycles then restart times is not allowed to be higher than cycles!
OK, so I modified it to be Code: if failed unixsocket /var/run/mysqld/mysqld.sock protocol mysql for 3 times within 4 cycles then restart And it works. Maybe it would be better to put same value for both, I did as I wrote because if it fails 3/4 times it looks problematic. Thanks a lot.
I submitted the suggestion for the ISPConfig AutoInstaller to Code: ... 3 times within 4 cycles some time ago. I have now made the same suggestion to the Tools: Issue Merge Request