![m monit free m monit free](https://i.ebayimg.com/images/g/dLsAAOSwkTNi2E6T/s-l500.jpg)
You can open in browser to see visual graphs! TODO "http_password" => "easyengine", Setup CronĪdd following line to cron: * * * * * php /var/> /var/log/monit-graph.log View Graphs
![m monit free m monit free](https://c1.staticflickr.com/5/4145/5012521936_34a8d6fe1d_b.jpg)
Open config.php and adjust following values: "url" => "localhost:2812",
#M MONIT FREE INSTALL#
You can use commercial version M/Monit for a lot many features or free script monit-graph Install monit-graph cd /var/www//htdocs You may also open :2182 in your browser to use web-based interface. Run command monit status, it should something like: The Monit daemon 5.13 uptime: 2m Then start monit using service monit start Verify Startįirst test your config using monit -t command. Also, change numbers 6 and 4 in loadavg lines based on number of CPU cores on your system. The license only applies if you plan to distribute Monit to third parties. #set mmonit may also wish to change username admin and password easyengine. You can redistribute Monit and/or modify Monit under the terms of the GNU Affero General Public License (AGPL). If loadavg (5min) > 4 for 2 cycles then alert If loadavg (1min) > 6 for 2 cycles then alert If cpu usage (user) > 70% for 2 cycles then alert If memory usage > 80% for 2 cycles then alert Set eventqueue basedir /var/monit slots 5000Ĭheck process mysqld with pidfile "/var/run/mysqld/mysqld.pid"Ĭheck process php5-fpm with pidfile "/var/run/php5-fpm.pid"Ĭheck process nginx with pidfile "/var/run/nginx.pid" cd ~Īdd/Update following in /etc/monit/monitrc #Monitoring Interval in Seconds Following lines will install Monit 5.14 for Ubuntu 64-bit. Go to and pick correct binary for your system. Following installs Monit 5.3 on Ubuntu 12.04.