Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I need to keep track of network, CPU and memory utilization of an application that sits on 5 machines (apache, mysql, memcached). I thought I'd install Munin for this. But I'm getting a little lost in the documentation. Is there a simple step by step guide to setting up a multi-machine setup?

share|improve this question
    
Is Munin available from the package manager? If so, that might take care of a lot of it for you... –  David Z May 8 '09 at 19:53
    
I had to compile from source to make it work ! To me for ever... That's why I use Debian =) –  Antoine Benkemoun Aug 12 '09 at 15:25

3 Answers 3

This seemed to be reasonably easy to follow: http://www.unix-tutorials.com/go.php?id=3617

If monitoring everything via SNMP w/ 5min updates is an acceptable option, Cacti might also be worth looking into.

share|improve this answer

If you are running debian it's quite easy.

monitoring server: apt-get install munin munin-node

monitored servers: apt-get install munin-node

Munin is a really good monitoring tool and it has lot of good plugins. It's less "sexy" than Cacti but easier to configure. And You can activate them on the note by simply symlinking /usr/shars/munin/plugins/ /etc/munin/plugins/ and editing /etc/munin/plugin-conf.d/munin-node

Example for the apache plugin:

  • cd /etc/munin/plugins
  • ln -s /usr/share/munin/plugins/apache* .
  • edit /etc/munin/plugin-conf.d/munin-node and add:

    [apache_*]

    user root

note: you must enable the apache status module for this to work.

to check:

run: /etc/munin/plugins/apache_accesses

share|improve this answer
    
arg sorry, you are running RHEL ! –  Matthieu Aug 12 '09 at 14:55

Munin is available from the EPEL repositories.

Follow the instructions how to add the repository, then do

yum install munin-node

on all servers you want to monitor. Adjust /etc/munin/munin-node.conf to allow connections from your munin master.

On the monitoring node, do

yum install munin munin-node

Follow the instructions on the Munin wiki for how to configure Munin.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.