Munin Update Failures

Last modified: August 20, 2019


Overview

The Munin cPanel plugin displays information about CPU, Exim, Apache®, MySQL® usage, and other information with the rrdtool logging system. If Munin fails to update, this document provides the steps to resolve the issue.

Troubleshooting Munin

To troubleshoot this problem, perform the following steps:

Does Munin run during maintenance

Confirm that the nightly cron maintenance runs and that a crontab entry for Munin exists.

The crontab -u munin -l command should return output that resembles the following:

*/5 * * * * /usr/local/cpanel/3rdparty/perl/526/bin/munin-cron

Confirm Munin owns the files

Confirm that munin:munin owns the files in the /var/lib/munin and /var/log/munin directories.

Important:
If munin:munin does not own the files in the /var/log/munin directory, the service will update the log files, but it will not update the graphs that Munin displays.

To set the correct ownership, run the following commands:

1
2
chown -R munin:munin /var/log/munin
chown -R munin:munin /var/lib/munin

Run Munin manually

To run Munin manually, run the sudo -u munin munin-cron command.

Check the results

New entries will appear in the /var/log/munin/munin-update log file with no errors. To update the daily graphs, refresh the Munin interface.

Note:
Munin’s weekly graphs will display updates after the time that you configured in the crontab entry for Munin.

Additional Documentation