Monitoring systems with Munin
August 6, 2007
Monitoring systems with Munin:
This installation was done using Fedora Core 5, I think this will also work for newer versions of Fedora as well as CentOS 5.
We need to install munin and munin-node on the targeted system, using
the yum utility will take care of the depedencies.
Install munin node for clients:
# yum install munin-node
Install munin server:
# yum install munin
Edit /etc/munin/munin.conf:
dbdir /var/lib/munin/
htmldir /var/www/html/munin/
logdir /var/log/munin
rundir /var/run/munin/
# a simple host tree
[localhost]
address 127.0.0.1
use_node_name yes
Note: Make sure that htmldir is the same as your DocumentRoot in httpd.conf
Add munin-node at startup:
# chkconfig munin-node on
Start munin-node:
# service munin-node start
Edit /etc/http/conf/httpd.conf:
Alias /munin /var/www/html/munin
<Directory "/var/www/html/munin">
Options FollowSymLinks
AllowOverride None
Allow from all
</Directory>
Restart Apache:
# apachectl graceful
Open your browser and type http://ip.address/munin
Wait for at least 5 minutes for the graph to load.
That’s all there is to it.
Cheers!
Leave a Reply