Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Apr 08, 2015 7:23 am 
Offline
Junior Member

Joined: Sun Mar 21, 2010 11:19 pm
Posts: 45
Curious if anyone has a guide to installing Longview, specifically the Apache + MySQL monitoring, for cPanel.

I'm on a 6 core 8GB linode with relatively low traffic. Trying to pinpoint high cpu and disk io. According to Longview, cpsrvd-ssl (cpanel service) is constantly utlizing 50-100% of the cpu -- while services like apache+mysql are below 5%


Top
   
PostPosted: Wed Apr 15, 2015 4:39 am 
Offline
Senior Newbie

Joined: Wed Apr 15, 2015 4:25 am
Posts: 11
Website: http://www.bodhost.com/
Hi,

The first step is to install Longview as you usually do -
curl -s https://lv.linode.com/YOUR-API-KEY-HERE | sudo bash
It will automatically configure for you. But this will install an older unsupported Cpanel version of Linode, this version doesn't seem to have a driver that works for the MySQL reporting. To resolve this issue -

Uninstall the old Cpanel version of Longview as below -
yum remove linode-longview-cpanel-1.1-3

Now install latest version -
yum install linode-longview

Check for your API key that has been stored from initial installation as below -
nano /etc/linode/longview.key

Then configure the MySQL service -
nano /etc/linode/longview.d/MySQL.conf

Enter the Mysql User / pass you created into this file: (remove or comment out any other details here)
username ----------------
password -----------------

Now save the file and restart Longview.

Please let me know if this works.

Regards,
EmmaT

_________________
bodHOST


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group