Server setup (as root):
apt-get install apache2 munin munin-node munin-plugins-extra munin-libvirt-plugins munin-java-plugins
Edit munin apache config to enable stats to be veiwed from anywhere:
change Allow localhost 127.0.0.1/8 ::1 line to:
Setup hosts we want to monitor in /etc/munin/munin.conf . For each host we need to add a section that’s similar to the following:
Now on each server we defined in the last step (including the munin server itself) we need to ssh into them and setup munin node:
apt-get install munin-node munin-plugins-extra munin-libvirt-plugins munin-java-plugins
Allow access from the munin server:
where 192.168.0.1 is the ipaddress of your munin server.
Restart the munin node:
Open up a web browser and navigate to:
This should present you with a webpage with all your configured nodes. Click on them to get stats/charts about the nodes. NB Munin can take up to 5 minutes to collect stats so if you’ve got nothing coming up wait 5 minutes. If you’ve still got nothing then you’ve probably got a configuration problem.
The Munin install differs on 10.04 Lucid as the install configures it’s own virtual host, which in previous versions of Ubuntu it never use to. The virtual host the Munin install provides is only accessible to the localhost hence the need for the configuration change.