Munin

Munin is a networked resource monitoring tool that can help analyze resource trends and "what just happened to kill our performance?" problems.

Munin implements a master and slave node structure; one master node with many slave nodes. The master node gathers data from the slave nodes, and produces HTML output. Generally these will be placed in the directory accessible via a web server, and can be viewed with a web browser.

Installation
Munin needs a web server such as Apache2, Lighttpd, or nginx. It assumed the web server root is located in

Install the base package

Optionally install

Single node configuration
Install the munin cronjob

The htmldir needs to be set up, the default should be fine. This htmldir has to be writeable for the user

Configure a path where munin should saves gathered data:

Enable  for , by adding   to the   group.

Configure munin which statistics to gather

This command checks your system for statistics that can be gathered and creates symlinks in the directory. You should check this list as it will only show shell commands. Once you are happy you can do it for real!

Configure munin to start up at boot time

Start the munin daemon

Complete
Wait a while for munin to output the first set of graphs, the cronjob is run once every 5 minutes by default. Once the graphs have been generated they will be accessible at your web server, usually at, and are saved at the   path (as set in.

Troubleshooting
The most common problem is graphs are not generated. Check for problems by executing

Common errors include not restarting  after adding plugins.

External resources

 * Munin Homepage
 * Missing graphs