wiszmaster

Active Member
Jun 11, 2008
27
0
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[5]=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.
 
Last edited:

fuzioneer

Well-Known Member
Dec 12, 2003
100
0
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
 

wiszmaster

Active Member
Jun 11, 2008
27
0
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
 

wiszmaster

Active Member
Jun 11, 2008
27
0
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.
 

wiszmaster

Active Member
Jun 11, 2008
27
0
51
Has anybody upgraded up 1.2.6 yet?

In 1.2.6 a bugfix for the exim_maillog issue was introduced.
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
 

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,544
11
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
Twitter
Reporting issues and submitting feature requests

please the link to this to vote for it ?
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