Munin Monitors your Ubuntu Linux – One Step Install

Munin graphs system usage over time. It follows CPU, memory, disk use and many other measurements. It’s easy to install Munin on Ubuntu.

IIRC: this article is written from memory.

Install Munin in One Easy Step

$ sudo apt-get -y install munin
First, install the package. Congratulations, Munin now monitors your system.
If this is the first package you install today, remember to ‘sudo apt-get update’. If you don’t yet have universe repository enabled, ‘sudo software-properties-gnome’.
$ firefox /var/cache/munin/www/index.html
If you are running Munin on a machine with a graphical user interface, you can view the report locally with Firefox. As you can see from the “file://” protocol in Firefox location bar, Munin report is not published on the web.
You should see a long report with many empty graphs. After 5-10 minutes, the first data points appear on the graph.

Configure Munin for Web Access

You can publish your Munin report on the web.
Put the path to your web site to /etc/munin/munin.con:
htmldir /home/tero/public_html/munin/
You can protect it with a password (such as htdigest) and SSL (https), but protecting web sites is not talked about in this article. Publishing a homepage is not talked about in this article either.

How Did You Find These Files?

How can you know where Munin puts it’s files?
$ dpkg –listfiles munin
shows every file the package has stored in the filesystem. Use your knowledge of the Filesystem Hiearchy Standard. When programs write files non-interactively, they go to /var/. Configuration is in /etc/. Runnable programs are in */bin/, */sbin/ and */games/ .
Have fun watching your stats.

Posted in Uncategorized | Tagged , , | Comments Off on Munin Monitors your Ubuntu Linux – One Step Install

Comments are closed.