Monit is a small Open Source utility for managing and monitoring Unix systems. Monit conducts automatic maintenance and repair and can execute meaningful causal actions in error situations. Installing monit on CentOS 7 yum install epel-release -y yum install monit -y Once installed, save the following in /etc/monit.d/apache check process httpd with pidfile /var/run/httpd/httpd.pid group…Continue reading Monitor Apache using monit
Tag: Linux
How To Add SPF And DomainKeys on cPanel Servers
This code snippet is the simplest way to add SPF and DomainKeys on a cPanel server for all the accounts [bash] for i in $(ls /var/cpanel/users) do echo Installing Domain Keys on $i /usr/local/cpanel/bin/domain_keys_installer $i; echo Installing SPF Records on $i /usr/local/cpanel/bin/spf_installer $i; done [/bash]