Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Munin server monitor?

Discussion in 'General Discussion' started by techark, May 31, 2006.

  1. wiszmaster

    wiszmaster Active Member

    Joined:
    Jun 11, 2008
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    51
    The one I showed will graph ALL mysql DB's that are on the server w/ size. Very handy to view large db's since the current quotas do not include DB's.

    **correction to the URL***
    http://muninexchange.projects.linpro.no/?search=&cid=8&os%5B5%5D=on&pid=62

    I've been playing with munin for a few hours now, I first uninstalled & reinstalled, however it would not update. Then I uninstalled, removed the old graphing data, and reinstalled, now the mysql graphs are updating. Testing is slow since it'll only update the graphs every 5 minutes.

    I'm going to attempt to restore the old graph content & re-set permissions on it to see if it'll resume on the old graphs. I'd hate to loose all graphs from the past year.
     
    #101 wiszmaster, Mar 11, 2009
    Last edited: Mar 11, 2009
  2. fuzioneer

    fuzioneer Well-Known Member

    Joined:
    Dec 12, 2003
    Messages:
    100
    Likes Received:
    0
    Trophy Points:
    166
    so how did you uninstall / install ?
    did you simply use the whm options or do it manually ?

    I would love to get mysql graphing up and running lol
     
  3. wiszmaster

    wiszmaster Active Member

    Joined:
    Jun 11, 2008
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    51
    I've updated the above URL for the module.
    The module I first linked was the original one, not the one that graphed all db's in the same graph.

    There are many different plugins available for munin, view the directory here:
    http://muninexchange.projects.linpro.no/?search
     
  4. wiszmaster

    wiszmaster Active Member

    Joined:
    Jun 11, 2008
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    51
    Yes, WHM -> cPanel -> Manage Plugins -> uninstall munin

    move all old munin files to munin.old:

    $mv /var/log/munin /var/log/munin.old
    $mv /var/lib/munin /var/lib/munin.old
    $mv /usr/share/munin /usr/share/munin.old
     
  5. wiszmaster

    wiszmaster Active Member

    Joined:
    Jun 11, 2008
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    51
    It appears that once I add the mysql_size_all back into the active plugins, all mysql plugins quit graphing properly. The mysql_size_all will write the db names on the image, however will not show their size in the graph or in text.
     
  6. TCTC

    TCTC Registered

    Joined:
    Apr 10, 2008
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    It didn't work for me.
     
  7. wiszmaster

    wiszmaster Active Member

    Joined:
    Jun 11, 2008
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    51
    Since cpanel still hasn't released an update to munin, fixing the exim log rotate issue, i wrote a simple & crude script to fix this issue myself.
    The script moves the dead .state out of the folder every sunday morning at 4.10am via an added crobjob, which makes the graph seem uninterrupted.


    munin_plugin_exim-script.sh :
    #! /bin/bash
    for fname in /var/lib/munin/plugin-state/plugin-exim_mailstats.state
    do
    mv "$fname" /var/lib/munin/plugin-state_MOVED/$RANDOM.plugin-exim_mailstats.state
    done

    crontab:
    10 4 * * 0 /root/munin_plugin_exim-script.sh
     
  8. activa

    activa Well-Known Member

    Joined:
    May 23, 2006
    Messages:
    211
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Morocco
    cPanel Access Level:
    Root Administrator
    please the link to this to vote for it ?
     
  9. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,544
    Likes Received:
    10
    Trophy Points:
    268
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Reporting issues and submitting feature requests

    Our bugzilla site is closed; possible bugs should be reported via a support request (ticket) so they can continue to be properly investigated, documented and tracked.

    Feature requests, not bugs, should be submitted via the following forums area:
    Feature Requests for cPanel and WHM - cPanel Forums
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice