Tim Akinbo's Tumblelog RSS

Hi, I'm Tim Akinbo and this is my tumblelog.

Afrigator

My Popularity (by popuri.us)

Archive

Jan
30th
Fri
permalink

Getting munin to work on your cPanel-based server

Munin is a monitoring tool that can be used to monitor the performance of a server or groups of servers. Somewhat similar (in some ways) to MRTG (it’s more popular counterpart).

By default, new installations of cPanel/WHM come preinstalled with Munin but it doesn’t work. Trying to access the utility from your WHM menu Munin Service Monitor will result in an error similar to this:

The server was not able to find the document (./munin/index.html) you requested Please check the url and try again.  You might also want to report this error to your webhost.

After googling for a solution, I then tried running the programs in the package manually and discovered that the reason it doesn’t work is because of a missing dependency - the Perl HTML::Template module.

To install it, login to your server as the root/administrative user then type in the following statement on the console.

/scripts/perlinstaller HTML::Template

Next, you will have to manually generate the HTML files. You do so by typing in the statement:

/usr/share/munin/munin-html --force-root

Now you have to specify the —force-root switch since you’re running it as the root/administrative user.

Now you can check your munin reports from your WHM interface.

Comments (View)

blog comments powered by Disqus