Munin is network monitoring tool for servers. It uses RRDTool, an open source used to generate graphics and logging server activities.
I am installing and configuring munin on centos 5 x86_64 using yum.
1)First of all, we need to add a RPMforge repository.
rpm -Uhv http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS//rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
yum -y install munin
3)chaning the ownership of munin web docroot to munin, as by default it goes to root.
chown -R munin:munin /var/www/munin/
4)Restart Apache and Crond to test the succesful instllation of munin
/sbin/service httpd restart
/sbin/service crond restart
5)Check if munin is installed up and running
6)Editing munin.conf file
##change htmldir to respecting munin installed directory##
for us it is
##by default the conf file has /var/www/html/munin/##
Thats all is needed for munin installation.
Adding a Node
1) Installing munin-node
yum -y install munin-node
2) Staring munin-node daemon
Some configurations on munin.conf for nodes
a host tree for local host
Munin can be used to monitor more than one server from the same place.
For this munin-node needs to be installed on the other servers and host tree should be added on munin.conf .
Few things to keep in mind.
Adding munin-node on chkconfig for all nodes.
Adding Cron for munin on graph server.
Restarting Munin-node after any changes on the files.