More and more people are getting linux based systems up, for various things such as SMP folding, File/Web Servers, or to just learn how to use it. One of the things that almost everyone here does, no matter if you are overclocking or not, is monitor their systems, cpu usage, memory usage, cpu temp etc.. Well this guide will show you how to setup munin, a system monitoring utility for linux based systems, which will not only monitor your systems but give you very nice, and web viewable graphs of resource usage and temperatures so you can monitor from another system on your LAN or from school or work!
In this guide we will use ubuntu because alot of people are moving to this distro for its ease of use and compatibility.
First open a terminal
Main Menu>Accessories>Terminal
Once you have your terminal open type the following command.
As root:
Using sudo:
This will install the required munin, node and server software. Once this is complete we need to configure the munin config file. To do this as previously shown, open a terminal then type the following command:
This will open the config file via the vi console based text editor. If you need help using vi use this link for a guide. Click Here
once this is open you will have a file with a bunch of information in it. The information that we need to focus on is this:
Edit these according to how your system is setup, if you are running ubuntu 7.04 you can just copy what I have here, or edit yours to look like this. You dont need to use exactly this on the localhost.localdomain section however I would recommend only editingthe portion of [localhost.localdomain]
Next we will create the directory where munin will store the output information, change the directory ownership to the user and group munin, then restart to finish the installation. To do this copy paste or enter each line below individually, or edit this according to your system.
Once installation is complete, and the service has been restarted wait a few minutes for munin to create its first output information then visit http://localhost/munin/ to view the information. It does take a few hours for it to really start building information for it to graph however after it has been running for a while you will have something similar to these graphs shown below.
Cpu Usage

Memory Usage

Hope this is helpful for everyone, and let me know if you need any help! If you would like to see mine it is currently up and running and can be viewed by using the following link!!
http://70.243.230.82/munin/localdoma...caldomain.html
In this guide we will use ubuntu because alot of people are moving to this distro for its ease of use and compatibility.
First open a terminal
Main Menu>Accessories>Terminal
Once you have your terminal open type the following command.
As root:
Quote:
| apt-get install munin munin-node |
Quote:
| sudo apt-get install munin munin-node |
Quote:
| vi /etc/munin/munin.conf |
once this is open you will have a file with a bunch of information in it. The information that we need to focus on is this:
Quote:
|
dbdir /var/lib/munin htmldir /var/www/munin logdir /var/log/munin rundir /var/run/munin tmpldir /etc/munin/templates [localhost.localdomain] address 127.0.0.1 use_node_name yes |
Next we will create the directory where munin will store the output information, change the directory ownership to the user and group munin, then restart to finish the installation. To do this copy paste or enter each line below individually, or edit this according to your system.
Quote:
|
mkdir -p /var/www/munin chown munin:munin /var/www/munin /etc/init.d/munin-node restart |
Cpu Usage

Memory Usage

Hope this is helpful for everyone, and let me know if you need any help! If you would like to see mine it is currently up and running and can be viewed by using the following link!!
http://70.243.230.82/munin/localdoma...caldomain.html









