Installing munin-node (client)
Munin is a "network-wide graphing framework" used to collect various statistics and to plot nice graphs.
Munin-node is the package which has to be installed on the client you wish to monitor. Munin-node has lots of plugins which come as default.
Install munin-node (client)
apt-get install munin-node
Configure munin-node (client)
Firstly, we need to configure munin-node to allow the munin server to access its statistics, and to configure a host_name
vi /etc/munin/munin-node.conf # add the following: allow ^193\.1\.99\.104$ #uncomment/change the following host_name clientname1.skynet.ie /etc/init.d/munin-node restart
Secondly, we want to see what plugins are enabled by default and what ones are available. (Typically this does not need to be done at all.)
ls /etc/munin/plugins/ ls /usr/share/munin/plugins/ #if you want to enable another plugin, do the following (for example): ln -s /usr/share/munin/plugins/apache_processes /etc/munin/plugins/
Configure munin (server)
SSH into the main munin monitoring server.
vi /etc/munin/munin.conf #add the following: [clientname1.skynet.ie] address 22.214.171.124 use_node_name yes
As munin (server package) runs via a cronjob, there is nothing to restart on the server. It will take +10 minutes for the graphs to be populated.
Thats about it. There are other config options for getting SMART, and sensors working, but the above should get it up and working no problems.
--steviewdr 16th Aug, 2007