How to fix Munin’s Exim Graph on cPanel

words by Brian Racer

If you notice the Exim graphs on your server have stop updating, you might want to check /var/log/munin/munin-node.log and see if you have lots of these entries:

tail /var/log/munin/munin-node.log
 
...
Plugin "exim_mailstats" exited with status 768. ----
...

You just need to remove the state file, and the graph will start updating again. Don’t worry about deleting the file, no data should be lost.

rm /var/lib/munin/plugin-state/plugin-exim_mailstats.state
  • http://www.urbanministry.org Evan Donovan

    If this does not work, you may have to resort to the following:

    1) rm the file (as above)
    2) touch the file (with the exact name specified in the permission denied error message)
    3) change the owner to root, and the group to mail (or whatever group exim runs as), and have the permissions set to rw for both.
    4) execute “munin-run exim_mailstats config”
    5) execute “munin-run exim_mailstats”. If the error still appears here, then this has not worked.

  • http://www.urbanministry.org Evan Donovan

    If this does not work, you may have to resort to the following:

    1) rm the file (as above)
    2) touch the file (with the exact name specified in the permission denied error message)
    3) change the owner to root, and the group to mail (or whatever group exim runs as), and have the permissions set to rw for both.
    4) execute “munin-run exim_mailstats config”
    5) execute “munin-run exim_mailstats”. If the error still appears here, then this has not worked.