yutrio.blogg.se

Monit installation
Monit installation




monit installation

usr/local/apache and htdocs will be /usr/local/apache/htdocs The location of apache on cPanel server is Note: Next step may change according to your system configuration.

monit installation

I believe, it is better if you use “/scripts/restartsrv httpd” instead of “/etc/init.d/httpd start” if you are on cPanel/WHM server. Stop program = "/scripts/restartsrv httpd" Start program = "/scripts/restartsrv httpd"

monit installation

If 5 restarts within 5 cycles then timeoutĬheck process httpd with pidfile /usr/local/apache/logs/httpd.pid If failed host 127.0.0.1 port 80 protocol http Start program = "/etc/init.d/httpd start" Note: If you are on cPanel, use the codeblock posted next to the below postĬheck process httpd with pidfile /var/run/httpd.pid Monit is particular useful for monitoring daemon processes, such as those started at system boot time from /etc/init.d/.Ī) Monit can start a process if it does not run.ī) Restart a process if it does not respond.Ĭ) Stop a process if it uses to much resources etc.Įcho "include /etc/monit.d/*" > /etc/monitrcĪnd copy/paste the following and save the file You can use Monit to monitor daemon processes or similar programs running on localhost. Monit conducts automatic maintenance and repair and can execute meaningful causal actions in error situations.

MONIT INSTALLATION FREE

Monit is a free open source utility for managing and monitoring, processes, programs, files, directories and filesystems on a UNIX system.






Monit installation