User login

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

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.grassrootsconnection.org.html

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-large-site.html

Resolution

Searched words: 
site monitoring on Debian or Ubuntu with Munin server performance measuring

Comments

Thanks!

You post was very helpful. Thanks for sharing!

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <blockquote> <small> <h2> <h3> <h4> <h5> <h6> <sub> <sup> <p> <br> <strike> <table> <tr> <td> <thead> <th> <tbody> <tt> <output>
  • Lines and paragraphs break automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.