All Linux HowTo's

Install Munin Node (Client) on Redhat/CentOS

Share This:

This article explains how to install and configure the Munun Node on a Redhat or CentOS server. The Munin Server was documented previously.

First you need to install the packages:

rpm -Uvh
yum install -y munin-node
chkconfig munin-node on

Make sure to allow TCP port 4949 through your firewall to the Munin Node. IPTables looks like this in “/etc/sysconfig/iptables”:

-A INPUT -m state --state NEW -m tcp -p tcp --dport 4949 -j ACCEPT

Restart IPTables if need be.

Next you need to edit the “/etc/munin/munin-node.conf” file. Here is an example of what to add. In this example, the IP address of the Munin Server is “”. It must be in regex format. This allows the Munin Server to query the Munin Node:

allow ^$

So my complete “/etc/munin-node.conf” file looks like this:

log_level 4
log_file /var/log/munin-node/munin-node.log
pid_file /var/run/munin/
background 1
setsid 1
user root
group root
ignore_file DEADJOE$
ignore_file .bak$
ignore_file %$
ignore_file .dpkg-(tmp|new|old|dist)$
ignore_file .rpm(save|new)$
ignore_file .pod$
allow ^$
allow ^$
allow ^::1$
host *
port 4949

Next you need to restart the Munin Node service:

service munin-node restart

On the Munin Server.

Finally you need to make a small change to the Munun Server. You need to tell the Munin Server to go and query the Munin Node. Edit the file “/etc/munin/munin.conf” on the Munin Server. Add the following section – customised for your needs:

        use_node_name yes

Where “” is your Munin Node’s FQDN. Or you can put the IP address there instead.

At this point your new Munin Node should be reporting to the Munin Server. If not, check your firewall and tail the log on the server:

tail -f /var/log/munin/*

Similar Posts: