Thread: Fixing Munin
View Single Post
  #1 (permalink)  
Old 07-06-2007, 11:29 AM
bradandersen bradandersen is offline
Registered User
 
Join Date: Oct 2003
Posts: 45
bradandersen
Fixing Munin

Hello,

Here is how you fix Munin 1.24 for CPanel to get the mysql graphs, the HDD temp graphs, and the Mailman graphs:

First, you must edit your /etc/munin/plugin-conf.d/cpanel.conf file to look like this:

[mysql*]
user root
group wheel
env.mysqladmin /usr/bin/mysqladmin
env.mysqlopts --defaults-extra-file=/root/.my.cnf

[exim_mailqueue]
group mail

[exim_mailstats]
group mail

[mailman]
user mailman

[hddtemp_smartctl]
user root
group root

Next, edit /etc/munin/plugins/mailman and change the line:

$pos=undef;

to

$pos=0;

I also touched 'touch /var/lib/munin/plugin-state/munin-mailman-log.state'

Finally, if exim stats fail and you've made changes or restarted you need to remove the state file at /var/lib/munin/plugin-state/plugin-exim_mailstats.state

Good luck,
Brad
Reply With Quote