I setup Munin server on gentoo box and munin-node on centos boxes.
Munin server collects status from munin-nodes and generates charts.
Setup Munin server on gentooArticle in gentoo wiki is helpful.
Before installing munin, it is better to serup httpd like apache, lighttpd.
If you have already installed httpd, simple emerge it, but you cannot use -minimal flag.
# emerge -v munin
If you also want to monitor this box, it should also be munin-node.
# emerge --config net-analyzer/munin
# rc-update add munin-node default
Then edit the /etc/munin/munin.conf and add following entry if not exists.
[yourserver.example.com]emerge --config commands installs crontab, so you will find newly generated charts within 5 minutes at /var/www/localhost/htdocs/munin/.
Setup Munin-node on centos
Enable EPELBecause munin is not hosted in the default repository, you have to enable EPEL (Extra Packages for Enterprise Linux).
On CentOS 5.x x86_64
# rpm -ivhOn CentOS 6.x x86_64
# rpn -ivhThen edit/etc/yum.repos.d/epel-testing.repo and set enable of [epel-testing].
Install munin-nodeJust yum it.
# yum install munin-nodeEdit /etc/munin/munin-node.conf and add allow entry for Munin server. Note that the IP address must be described as a regular expression.
allow ^192\.168\.0\.\d+$Then boot munin-node and make it executed automatically.
# /etc/init.d/munin-node start
# chkconfig --add munin-node
# chkconfig munin-node on
Add munin-node to be monitoredEdit /etc/munin/munin.conf on gentoo box and add an entry of centos box.
[centos.example.com]Now you can check the status at http://gentoobox.example.com/munin/.