In this article we'll discuss installing the Munin plugin for cPanel/WHM. With the Munin Server Monitor plugin you can get a quick overview of what your server has been up to with reports on Apache, Disk Usage, Exim, MySQL, Network, Processes, and other System activities.

To install the Munin plugin yourself this would require root access on either your VPS (Virtual Private Server) or dedicated server. Or if you would like for a $25 installation fee we can install the Munin plugin for you.

If you already have root access on your server, below are the steps needed in order to get Munin installed and to start collecting data.

Munin plugin error unregistered application

Please note in certain cases it's been reported to us that people are getting the following error in WHM when attempting to install Munin:

HTTP error 401
cgi/addon_munin.cgi

WHM is configured to disallow execution of unregistered applications when logged in as root or a reseller with the "all" ACL.

If this is the case for you, you can folow these steps to still install the Munin plugin:

  1. Login to your server with SSH as the root user.

  2. Create the following folder if it doesn't exist already with:

    mkdir /var/cpanel/apps
    chmod 755 /var/cpanel/apps

  3. Next create a configuration file with the (.conf) extension for the Munin plugin.

    vi /var/cpanel/apps/addon_munin.conf

    Populate it with this data:

    # name
    name=addon_munun
    
    # Service that will serve this app
    service=whostmgr
     
    # Physical path: /usr/local/cpanel/3rdparty/Foo.php
    # Literal URL path: $server:$port/$cpsession/3rdparty/Foo.php
    url=/cgi/addon_munin.cgi
     
    # System user to run process as
    user=root
    
    # Required acls
    acls=any
    
    # Display name as show in the service ui
    displayname=addon_munin
  4. Finally register the plugin with WHM by running the following command:

    /usr/local/cpanel/bin/register_appconfig addon_munin.conf

    If you wanted to un-register the plugin you could run:

    /usr/local/cpanel/bin/unregister_appconfig addon_munin.conf

    If you'd like to display all the currently registered plugins you can run:

    /usr/local/cpanel/bin/show_appconfig

You should now be able to follow the steps below like normal to install the Munin plugin for WHM.

 

Install the Munin plugin in WHM

  1. Log into WHM.
  2. In the top-left Find box, type in plugins, then click on Manage Plugins.
    click-on-manage-plugins
  3. Place a check beside Munin in the Install and keep updated selection box, then click Save at the bottom.
    munin-select-install-click-save
  4. The install process should take about 3-5 minutes, and during that time you don't want to close your web-browser. When it finishes you'll see a Process Complete message at the bottom of the screen.
    process-complete
  5. Log out, and then back into WHM again.
  6. In the top-left Find box, type in plugins, then click on Munin Service Monitor.
    click-on-munin-service-monitor
  7. Now Munin sets up a cronjob to gather statistics every 5 minutes, so when you first look through your reports there won't be any data populated into them yet. So typically you'll want to wait at least 24 hours before you start reviewing the reports.
  8. You can click on your server's hostname, in this case server.inmotionhosting.com in order to get to a full summary of all the available reports.
    click-on-server-hostname-for-full-summary
  9. Below are some screen shots of the various reports available that you can get to by either scrolling down your main report page, or by clicking on one of the header links such as Apache at the top. You can also click on any of the individual report graphs to be taken to the monthly and yearly reports for that category as well:

    Apache munin-apache-report

    Disk munin-disk-report

    Exim munin-exim-report


    Munin munin-munin-report

    MySQL munin-mysql-report

    Network munin-network-report


    Processes munin-processes-report

    System (1) munin-system-report-1

    System (2) munin-system-report-2


You should now know how to get the Munin plugin installed in WHM which should help your keep tabs on the activity that happens on your server.

Continued Education in Course Web Host Manager
You are viewing Section 5: 304: Install Munin plugin for WHM
Section 4: 303: Install and configure ClamAV plugin for cPanel
Section 6: 305: How to change your MySQL root password in WebHost Manager (WHM)
Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question
2013-07-04 12:36 pm
This is out of date and cannot be accomplished on your current version of WHM
Staff
9,968 Points
2013-12-04 5:25 pm
Hello WilkinsIT,

Sorry it looks like we missed your comment. I just updated the article today 12/4/2013 with more information on how you should be able to get this to work with the latest versions of WHM.

Please let us know if you're still having any issues at all.

- Jacob
n/a Points
2014-12-10 12:09 pm

I have acquired the root access password at AMP and used that to log into WHM.  However, in step 1 above, after typing in 'plugins' in the search field, I am not presented with any option to 'manage plugins'. Here is the version info from the header bar:

CENTOS 6.6 x86_64 virtuozzo – vps9908  WHM 11.34.2 (build 8)

What am I doing wrong?

Staff
18,513 Points
2014-12-10 12:39 pm
Hello Carl,

Sorry for the problems with the login. However, I am unable to duplicate the issue here. I was able to take your root login and see the plugin manager with no problems. I used vps9908.inmotionhosting.com/whm as the URL to get to your login screen. Try that, and make sure you're using "ROOT" as the user name when you're logging as the root.

Hopefully, that will clear up the issue. If you continue to have any problem, please contact us by providing a reply with more information detailing the problem, or call in to our live technical support team.

Regards,
Arnel C.
n/a Points
2014-12-19 6:48 am

Thanks for posting these codes on this blog. I am using a dedicated server and searching for it.

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

5 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!