Rackspace Community

How to install Munin Monitoring systems

Article ID: 1271

Last updated on June 10, 2013

Authored by: Jered Heeschen

We will provide instructions for Installing Munin Monitoring Systems on Ubuntu and Centos/Fedora/Redhat. Munin is a monitoring system that will provide you with your Server stats on a simple to read website.

There are two parts of Munin Monitoring Software, Munin Master and Munin node. Muninin Server is the software website and configuration for what stats are pulled and what domains are monitored. Munin Node is the actual software that monitors the server and produces the stats for Munin Master.

Two parts you need to worry about in the munin.conf file. First Server Variables, Second is Host settings.

Server variables:

Set htmldir to a directory within your document root (ie. /var/www/munin or /var/www/html/munin)

Munin.conf snippet:

# The next three variables specifies where the location of the RRD
# databases, the HTML output, and the logs, specifically.
# They all must be writable by the user running munin-cron.
dbdir /var/lib/munin
htmldir /var/www/munin
logdir /var/log/munin
rundir /var/run/munin

Host Definitions:

Find the section in brackets: [foo.example.com] This sets your host .

For localhost use 127.0.0.1, for other external nodes(servers) use the ip address x.x.x.x.