Monit configuration files
This is a bunch of monit configuration files for monitoring a variety of things.
- MySQL: the default setup uses UNIX sockets. It has also the support for TCP sockets commented out.
- php-cgi (FastCGI)
- php-fpm (FastCGI Process Manager) with UNIX domain sockets
- php-fpm (FastCGI Process Manager) with TCP sockets
The web interface is setup in the
000-global file. The current
setup is the one I use my dev machine setup. This is a standalone
If on the Internet then you **should** use a SSL setup for the web interface.
Copy the file(s) you’re interested to
/etc/monit/conf.d. Start or
restart monit. Note that I’m assuming a Debian like directory
/etc -> /etc/monit/ -> /etc/monit/conf.d
The base configuration file
/etc/monit/monitrc has as
last statement the inclusion of all files in the
There’s no tampering with the package installed
all global settings are defined in a
000-global file that due to
its name is the first to be included in
monitrc therefore making
all statements there affect all other configuration files.
All alerts are sent to
root@localhost you should either/or define
an alias/forward for root or alter the address in
The mailserver is also localhost in port 25. Change it if necessary for your mail setup.