|
Server IP : 111.118.215.156 / Your IP : 216.73.216.67 Web Server : Apache System : Linux md-in-26.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : azasoqqa ( 1858) PHP Version : 8.2.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /etc/monit.d/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
check program mysql_conn_status path /usr/local/eig_monit/check_mysql_connections.sh
every 5 cycles
restart program = "/usr/local/eig_monit/remediation_scripts/log_mysql_users.sh"
if status != 0 then restart
if 5 restarts within 30 cycles then exec "/usr/local/eig_monit/remediation_scripts/zbx_notify.sh monit_mysql_connection"
repeat every 1 cycles