Server Administration & Management

How to fix mailman stats in munin

By default if you install Munin via cPanel addons it does not enable mailman stats by default even though it shows a graph on the stats page… Here is how you can enable the stats.

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

# /etc/munin/plugin-conf.d/cpanel.conf


user root
group wheel
env.mysqladmin /usr/bin/mysqladmin
env.mysqlopts –defaults-extra-file=/root/.my.cnf

group mail

group mail

user mailman

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

# vi /etc/munin/plugins/mailman


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

You’ll also need to restart munin

# /etc/init.d/munin-node restart


April 21, 2011 - Posted by | cPanel | , , ,


  1. Thank you so much for bothering to line all of this out for us. This kind of posting was in fact extremely helpful in my opinion.

    Comment by Merlyn Norse | June 15, 2011 | Reply

  2. Many thanks for taking the time to line all of this out for all of us. This particular post ended up being really helpful if you ask me.

    Comment by Ian Kossakowski | June 15, 2011 | Reply

  3. I would like to hear all that you know with regards to this topic. You have only scratched the surface of your awareness about this and that is apparent from the way you compose. Have you considered dedicating an entire website to ensure that other people will not miss that which you must say?

    Comment by fresh water | June 15, 2011 | Reply

  4. Your understanding definitely fills a necessity. I’ve been hoping to find this sort of article and you genuinely came through. Can you believe that that which you wrote just about precisely duplicates my very own experience.

    Comment by water | June 16, 2011 | Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: