Munin

This article is a guide on how to install a Munin master and node.

Munin works with a running master-server and 1 until n nodes. The Master connects to the nodes and fetches the data from the clients. The clients have different scripts printing the raw-statistic data on the basic output.

Prerequisites
Munin will install a directory into the localhost virtualhost location containing the web interface.

To work as designed, the Munin web interface requires Apache compiled with the expires and auth_basic modules. To ensure this is the case, add the following line to the end of :

Then recompile Apache to include the modules with:

Installation and Configuration
To install Munin on crontab for "munin" user (i.e. only for the Master server, not the nodes)

After this, you have to create a htpasswd file for using munin.

You can visit the Munin-Page using your browser and http://127.0.0.1/munin

Configure the client with the scripts in

Don't forget to add munin in cron and crontab group(/etc/group) and restart nscd deamon (if it's running) /etc/init.d/nscd restart

Or:

Best way to add new plugins is creating a symlink

You have to start the node on the node (and the master)

Note: You may need to install corefonts in order for the graphs to display correctly: