Jump to content

  •  

Toggle %s Community Survey

Please fill out our 2 minute community survey

Photo
* * * * * 1 votes

Munin Mysql Graphs Not Updating

munin mysql graphs not updating cpanel centos

This thread has been archived.
This means that you cannot reply to this thread.
No replies to this thread

#1 Extreame

Extreame

    Junior Member


  • Administrator
  • 2,843 posts

Posted 11 April 2012 - 02:42 AM

If you have cPanle/WHM version 11.32.2 (build 15+) this bug can be fixed by executing the following command:

/etc/init.d/munin-node restart

You could add this command to execute (run automatically) at login by editing your /etc/rc.local file, it would look like:

Open /etc/rc.local:

nano /etc/rc.local

Add your command:

/etc/init.d/munin-node restart

Save and close nano.

 

If you have a previous version to 11.32.2 (build 15) follow these instructions:

1. Edit the /etc/munin/plugin-conf.d/cpanel.conf Munin configuration file, and modify the [mysql*] section to look like below:

[mysql*]user rootgroup wheelenv.mysqladmin /usr/bin/mysqladmin

2. Save and close nano

3. Restart Munin service:

/etc/init.d/munin-node restart

Give at least 5 minutes for munin to do it's thing, before seeing it's updated graphs

4. If you still do not see the graphs, go back and edit your cpanel.conf file so it looks like this:

[mysql*]user rootgroup wheelenv.mysqladmin /usr/bin/mysqladminenv.mysqlopts --defaults-extra-file=/root/.my.cnf

5. Restart Munin service:

/etc/init.d/munin-node restart

Remembering to wait at least 5 minutes for Munin to gather statistics and check the graphs again.

Seriously... if people don't start reading the post checklist before posting, I'm going to consider not answering at all.

-Please do not PM me for support unless I ask you to do so-


--Make sure that you have read and follow the Community rules, it's not that hard--


---If you think we have helped you, please consider donating this helps pay for our server and associated costs---


----Please make sure that you fill out our 1 minute community survey----