Installing Munin, the site monitor named after a Norse god's crow

By Benjamin Melançon
on 22 Jan
0 comments

Key words and phrases

site monitoring on Debian or Ubuntu with Munin server performance measuring

Tags

Description

sudo aptitude install munin-node

sudo aptitude install munin 

sudo vi /etc/munin/munin.conf

# a simple host tree
[wsf.grassrootsconnection.org]
address 127.0.0.1
use_node_name yes

Skipping this for now -- and I think this assumes both munin and munin-node on one server:

As a security measure, we are going to change so the node bind itself to the loopback interface.
So go and edit /etc/munin/munin-node.conf and make sure the host value looks like this:

#host *
host 127.0.0.1

sudo vi /etc/apache2/sites-available/munin

ServerAdmin webmaster@localhost
ServerName munin.grassrootsconnection.org
DocumentRoot /var/www/munin

Options FollowSymLinks
AllowOverride None

LogLevel notice CustomLog /var/log/apache2/munin-access.log combined ErrorLog /var/log/apache2/munin-error.log
ServerSignature On

sudo a2ensite munin

test syntax:
sudo apache2ctl -t

reload (article used sudo /etc/init.d/apache2 force-reload, not sure why, Agaric's way is more... graceful):
sudo apache2ctl -k graceful

That seemed to work!

http://munin.grassrootsconnection.org/index.html

Lets add another site and server to monitor-- this time, a different server.

# aptitude install munin-node
# vi /etc/munin/munin-node.conf

Added near the bottom of the file munin-node.conf, under "#host_name localhost.localdomain":

host_name wsf2008.net

Added to the very bottom of the file the IP address of the munin server (as a silly regular expression, boo Net::Server):

allow ^66\.135\.41\.18$

Acknowledge this fresh start:

# /etc/init.d/munin-node restart

# /usr/share/munin/munin-update  --force-root

http://munin.grassrootsconnection.org/grassrootsconnection.org/wsf.grass...

References:
http://www.debuntu.org/how-to-monitoring-a-server-with-munin
http://www.debianhelp.co.uk/munin.htm
http://2bits.com/articles/php-op-code-caches-accelerators-a-must-for-a-l...

 

Post new comment
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <h1> <h2> <h3> <h4> <h5> <h6> <small> <pre> <strike> <sub> <sup> <kbd> <s>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.