ok so im running monit to monitor services but only put it into alert mode, these are my configs, was thinking also adding csf firewall ?
#openlitespeed file
check process OpenLitespeed with pidfile /tmp/lshttpd/lshttpd.pid
start program = "/usr/local/lsws/bin/lswsctrl start"
stop program = "/usr/local/lsws/bin/lswsctrl stop"
if cpu usage > 25% for 5 cycles then alert
if failed host site.comu port 80 protocol http then alert
if failed host site.com port 443 protocol https then alert
#mariadb file
# new check
check process mysql with pidfile /run/mysqld/mysqld.pid
start program = "/usr/sbin/service mysql start" with timeout 60 seconds
stop program = "/usr/sbin/service mysql stop"
if failed unixsocket /run/mysqld/mysqld.sock then alert