2

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?

deadprogrammer
  • 1,691
  • 7
  • 24
  • 25

3 Answers3

1

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

Matthieu
  • 443
  • 4
  • 12
1

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.

gharper
  • 5,425
  • 4
  • 29
  • 35
0

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.

martineg
  • 150
  • 7