Go Back    Forum > Digital Publishing / Web Sites > Website and Server Troubleshooting

Reply
 
LinkBack Thread Tools
  #1  
09-17-2012, 09:13 AM
kpmedia's Avatar
kpmedia kpmedia is offline
Site Staff | Web Hosting, Photo
 
Join Date: Feb 2004
Posts: 4,311
Thanked 374 Times in 341 Posts
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.

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

- Did my advice help you? Then become a Premium Member and support this site.
- Please Like Us on Facebook | Follow Us on Twitter

- Need a good web host? Ask me for help! Get the shared, VPS, semi-dedicated, cloud, or reseller you need.
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Ads / Sponsors
 
Join Date: ∞
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
How to disable Sportcraft treadmill from beeping? [Solved] admin Digital Devices 1 08-05-2012 04:11 PM
Notes on installing Munin in Plesk 9 Linux VPS kpmedia Web Hosting 0 07-29-2012 10:31 AM
Remove unnecessary port access with CSF/LFD firewall in cPanel kpmedia Web Hosting 0 01-12-2012 02:23 AM
How to disable root logins to secure SSH on Linux server (or VPS) kpmedia Web Hosting 0 01-10-2012 07:00 AM
DVD enable/disable option - How to author ? manthing Author, Make Menus, Slideshows, Burn 2 06-14-2006 10:40 PM




 
All times are GMT -5. The time now is 07:05 AM