Server resource monitoring

Monit configuration checks for common services running in CentOS 7

The following are Monit configuration that are created specifically for CentOS 7 system. If you have not installed Monit yet, please check this guide: Installing Monit to monitor your server running CentOS 7 with nginx.

Apache

Create the file /etc/monit.d/httpd and add the following to it:

Setup alternative Twitter Bootstrap based Munin template

The Munin's generated web pages are very old fashioned and dull. Its design uses tables with small text and too much spaces. This guide will show how to change the Munin's template and should be continuation of Setup Munin on CentOS 7 with nginx. There will be two alternative Munin 2.x templates will be shown here:

1. Munin Dynamic Template

This alternative template uses jQuery and Twitter Bootstrap for Munin 1.x and 2.x versions that enhanced user experience and improve web pages' appearance. The following are the steps to setup this template:

Installing Monit to monitor your server running CentOS 7 with nginx

Monit can manage and monitor processes, programs, files, directories and filesystems of your UNIX server for you. You can program Monit to execute action for events like: service stops running or its using too much CPU or a host is unreachable. The following steps are tested running on my Linode server running Centos 7 64-bit. It is assumed that nginx is already installed in your system. If not, please follow this guide.

Setup Munin on CentOS 7 with nginx

Munin provides web interface showing graphs about your server's load average, memory usage, CPU usage, MySQL throughput, eth0 traffic, etc. Although it lets you monitor more than one server, this article will discuss the monitoring of the system where it is installed. The following steps are tested running on my Linode server running Centos 7 64-bit. It is assumed that nginx is already installed in your system. If not, please follow this guide.