For some reason I want to disable Munin on my Cpanel server but without uninstalling it since I have made some changes which I don’t want to lose by uninstalling Munin.
Disable Munin service
So I start with disabling Munin service by running command:
service munin-node stop
Next, disable Munin from running on startup:
chkconfig munin-node off
Disable Munin’s Cron
Although the service has been disabled but there is a cron that runs every 5 minutes to do updates. This cron can be disabled by editing cron for user munin:
crontab -u munin -e
And then edit the cron line by adding “#” in front of the cron line to disable it
#*/5 * * * * /usr/local/cpanel/3rdparty/perl/514/bin/munin-cron
Save the changes and that’s it. Whenever I want to re-activate Munin I just reverse the changes that have been done above.