From AdminWiki

Revision as of 02:24, 24 May 2006 by Gullevek (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



Munin is a plain monitoring program with no notification possibility. It uses rrd to store and create graphs for servers. It can use SNMP to monitor windows servers.

How Munin works

Munin has a sort of client / server solution, although the server is just a script that collects the data in certain time periods.

The client is a node to which the server scripts connect and collect data.

Setup Client (Node)

remark for non debian systems, it might be different

install the munin-node package and open the /etc/munin/munin-node.conf file.

The only things you need to change here is the host_name and the allow part. The host_name is the server name (FQDN). allow is a regex formated IP which are allowed to access the node.

 allow ^127\.0\.0\.1$
 allow ^192\.168\.\d{1,3}\.\d{1,3}$

after changes the munin-node has to be restartet. To see if the node works, connect to it:

 telnet <node ip> 4949

you will be greeted with a simple screen:

 Connected to localhost.
 Escape character is '^]'.
 # munin node at

you can use the following commands list, nodes, config, fetch, version, quit

Setup Server

Setting up the server is not more difficult. For Linux/Unix nodes it is nothing more than adding a small config entry into the /etc/munin/munin.conf file.

Basic settings are there the db (rrd files), html, log etc is. At least see that the htmldir is correctly set.

Because the graphs are by default a bit too small - line breaks in the legend make them too high - increase the width to 500

graph_width 500

a normal linux/unix node is added like this

     use_node_name yes

for adding a windows node please see the excellent guide on the munin homepage:

one very important remark A windows entry in the server config file has NOT the ip address from the target server but from the munin server instead. Second the use_node_name has to be turned off

     use_node_name no


Show Graphs

point your browser to the server where munin runs. In the default the munin directory is in the document root of the default host, eg

--gullevek 04:24, 24 May 2006 (CEST)

Personal tools