digitalFAQ.com Forum

digitalFAQ.com Forum (https://www.digitalfaq.com/forum/)
-   Website and Server Troubleshooting (https://www.digitalfaq.com/forum/web-tech/)
-   -   How to disable Munin in cPanel/WHM, but not remove it [SOLVED] (https://www.digitalfaq.com/forum/web-tech/4573-how-disable-munin.html)

kpmedia 09-17-2012 09:13 AM

How to disable Munin in cPanel/WHM, but not remove it [SOLVED]
 
I've been having some odd resource issues with a cPanel VPS in recent months. The only major change made to the server during that timeframe was the addition of Munin. And several of the resource alert emails seem to indicate Munin is an open process at the time of failure. So for testing (process of elimination), I'd like to disable Munin without completely uninstalling it. Install and uninstall is rather easy from within WHM, while simply disabling it must be done through SSH.

Stop Munin:

Stop the Munin service:
Code:

service munin-node stop
Remove Munin from startup:

Confirm that Munin is set to run as server boot:
Code:

chkconfig --list
and assuming it is (and it should be), remove this entry:
Code:

chkconfig --del munin-node
Finally, restart the cron service:
Code:

/etc/init.d/crond restart
Remove the Munin cron job:

Verify that a munin cron job is scheduled:
Code:

crontab -u munin -l
and assuming it is (and it should be), edit the cron file for Munin, and comment out the task:
Code:

nano /var/spool/cron/munin
You'll find:
Code:

*/5 * * * * /usr/bin/munin-cron
and then add a # prefix to comment out a task
Code:

# */5 * * * * /usr/bin/munin-cron
... and that should do it. :thumb:

To "unremove" Munin:

(1) Uncomment the cron and restart the service,
(2) Re-add Munin to the server startup tasks with chkconfig --add munin
(3) Start the service


All times are GMT -5. The time now is 12:11 PM

Site design, images and content © 2002-2026 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2026 Jelsoft Enterprises Ltd.