Solved

How check health & performance of a Linux Server (Web Server) ?

Posted on 2015-02-06
4
388 Views
Last Modified: 2015-02-11
Hi all -
I am having sporadic problems with my Linux/Apache Web Server (It is a dedicated Server, CentOS 5.6, and I have root access).  Sometimes it appears that MySql is the culprit; other times Postfix.  At other times I am told that it was a "stuck" process running, other times the Sun Spots get blamed ;)
I want to be able to tell when my server is running normally, and when it is not, to help pinpoint exactly what is causing the problem. This means that I want to check it often, many times per day, so trying to avoid command-line checking. Is there a software utility or service that checks these kind of things?
Thanks in advance
- B
0
Comment
Question by:bleggee
4 Comments
 
LVL 10

Accepted Solution

by:
Jeffrey Dake earned 500 total points
ID: 40595247
We have used data dog to monitor our servers. Seems to work pretty well. https://www.datadoghq.com  I have also used new relics apm monitoring to see what is going on with individual requests.  I don't know what your budget is, but I have liked those tools.
0
 
LVL 16

Expert Comment

by:Lucas Bishop
ID: 40595313
Take a look at Collectl combined with Colplot . Colplot gives you a visual browser view, so you don't need to check in via command line.
0
 
LVL 25

Expert Comment

by:madunix
ID: 40595914
I think the native tools are great such as top, ps , vmstat ...etc. but you could try nmon, Install and use nmon tool to monitor linux systems Performance
http://nmon.sourceforge.net/pmwiki.php
https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/6/html-single/Performance_Tuning_Guide/index.html
http://linoxide.com/monitoring-2/linux-performance-monitoring-tools/
0
 
LVL 61

Expert Comment

by:gheist
ID: 40597103
Since you have not patched or otherwase cared about your server for last 5 years, I'd say slowdown when it distributes spam and relays attacks is a good thing for the rest of internet.
My advice would be to upgrade to current release of CentOS before doing anything else.
You can use builtin MRTG to measure system load data and website response times etc.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now