Go Back   Web Hosting UK Forums | Linux Windows Dedicated Server and cPanel VPS Hosting Forum > Support > FAQ's / Tutorials.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-26-2008, 09:56 PM
Senior Member
 
Join Date: Feb 2008
Posts: 205
Thumbs up Munin server monitoring

I came across this little gem of an application in WHM recently. I can't believe more is not made of it. Its called Munin and it monitors and graphs your server all day long, so you can identify issues.

If you would like to add it, you can find it in WHM at
Main >> cPanel >> Manage Plugins

tick the box and select save.

After its installed, its best to do a restart, this will help you also identify a small bug with monitoring mysql (no information is captured after a restart). To fix this bug you need to do the following:

Edit the /etc/munin/plugin-conf.d/cpanel.conf Munin configuration file, and modify the [mysql*] to look like below:

[mysql*]
user root
group wheel
env.mysqladmin /usr/bin/mysqladmin
env.mysqlopts --defaults-extra-file=/root/.my.cnf


Ensure that /root/.my.cnf contains correct root password to the MySQL databases.

Then restart Munin service from SSH:
/etc/init.d/munin-node restart
__________________
Midlands Weather Forum
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:48 PM.
Copyright 2002-2007 WebHosting.uk.com. All rights reserved.
Web Hosting UK Forum