When the number of your servers is increasing more than you have expected, is a good practice to have a friend that helps you track what’s happenning on those.
For this I use, among other apps, Munin. Munin is a “networked resource monitoring tool that can help analyze resource trends and [...] problems” according to its site.
But this post isn’t a howto-install guide but a how to personalize and extend munin to fit your requirements, just with a custom layout and new plugins.
Layout
I don’t like the default theme of munin. There is an alternative template at http://www.doeeng.com/ and a live demo. There are detailed instructions to install and customize there so I won’t touch it here. Seems that original webpage is down so let me explain the installation process.
You can download a tarball containing the alternative template from http://mabishu.com/downloads/munin-alternative-template.tbz
For installing just move the /etc/munin/templates to /etc/munin/templates_old, extract this tarball in /etc/munin/ and verify that this creates a new template folder. Just a puntualization, for me is far better the ”template-light” so you have to change the import in index.css to get it.
Plugins
Is very simple to install plugins for munin. You only have to drop it on /usr/share/munin/plugins and after that make a symbolic link from /etc/munin/plugins to it.
Fortunately, on Debian systems when you install munin and munin-node there is some plugins installed. Indeed, that plugins would cover all your needs but if you need more you can install “munin-plugins-extra” and on Ubuntu Lucid you can install “munin-libvirt-plugins” and “munin-java-plugins“.
Additionally, Munin has the MuninExchange site that is a central point when all the users send their plugins to share with all with open licences. There is a lot of plugins but I have to highligth Memcache plugin, sshd_log, and apache
I read your post and totally agree with you.Its nice sharing.web sites are source of information and this is one of them I book mark it and mail all of my friends to must check it.
Write on May 24th, 2010 at 5:13 pm
Hi ccsp,
I’m glad you share our web site among your friends. Soon I’ll write more posts with useful information.
Regards
Write on May 25th, 2010 at 12:10 pm
So I’m definitely interested in this alternate theme, however the website is down, and I can’t find the file, would you be able to make it available?
Write on June 4th, 2010 at 10:45 am
Sure, let me get from one of my servers and make a tarball.
Write on June 4th, 2010 at 2:16 pm
Hi again James,
you can download a tarball containing the alternative template from http://mabishu.com/downloads/munin-alternative-template.tbz
For installing just move the /etc/munin/templates to /etc/munin/templates_old, extract this tarball in /etc/munin/ and verify that this creates a new template folder.
Write on June 4th, 2010 at 3:42 pm
Fran,
Thanks for posting the files, it doesn’t work unfortunately though.
Checking a cache of the original host site via google.com it looks like there are two parts, the “templates” and the “www” folder part, at this point it just gives me a broken page. Any possibility of getting the second half?
Regards,
James
Write on June 5th, 2010 at 3:36 am
Sure,
I have repackaged the tarball with the template and www folders. I hope it contents all the needed resources. Just check it out from the url I have posted in the previous comment.
Regards
Write on June 5th, 2010 at 3:45 am
Thanks dude. It was interesting knowing.
Write on September 19th, 2010 at 12:26 am
Does somebody have the documentation from the template for installation and customization?
Write on January 5th, 2011 at 9:43 pm
Hi x2on,
seems that original page is down so let me review my documentation and I’ll update this post this week.
but is pretty simple to install and customize it if you knows HTML and CSS
Write on January 9th, 2011 at 10:27 pm
Thanks for unnofficially taking over this theme Fran, as far as I can tell it is the only one available online other than the one awkwardly posted to the Munin Trac.
Unfortunately even with your instructions I can’t get the files in teh tarball to work. When I just do the /templates/ part I end up with a completely unstyled page and Firebug tells me that it got a 404 for a file at http://munin.mysite.com/css/index.css
That’s annoying because the tarball only has a file called style.css and there’s no indication that it should go in /css/ in the web root of munin. Do you have such a file in your install that uses this theme? I tried uploading and renaming the style.css file into /css/index.css but the result is definitely not what was intended, and afterwards my munin only has a tiny bit more style than before (colored links but no layout).
Any ideas on what could be the problem? Thanks for working on this, sorry that you have responsibility simply because you were the only one to post about the theme other than the original author who dissapeared :)
Write on February 19th, 2011 at 12:53 am
I am experiencing the same problem, the generated HTML file is empty.
Write on July 27th, 2011 at 2:30 pm