Take the 2-minute tour ×
Software Recommendations Stack Exchange is a question and answer site for people seeking specific software recommendations. It's 100% free, no registration required.

Is there an easy to install Apache graphing tool for Linux? Something which requires minimal setup and configuration? I'm having problems with slow loading times on a LAMP application and would like to check how Apache is performing.

Requirements

  • Must work on Centos 5.
  • Minimal configuration needed.
  • Should graph usage to help pinpoint problems like max connections exceeded, etc.

Nice to haves

  • Create own logs rather than working from just Apache logs
share|improve this question

2 Answers 2

up vote 9 down vote accepted

Monitorix might come in handy here. It does not exactly focus on Apache, but of course includes Apache-specific data:

Monitorix: Apache statistics
Monitorix: Apache Statistics (source: Monitorix.Org; click image for larger variant)

As the graph shows, you can easily see a "journal" of Apache resource usage: idle/busy workers, requests, CPU-usage. Together with plenty of other statistics (see here for more screenshots; there can be other reasons for your "slow loading times", e.g. another process hogging all resources), this gives a pretty good image on your server's performance. Statistics are saved using RRDTool, and the web front-end allows you to select different intervals to view the stored data.

Monitorix is available for download for multiple systems, and easily installed on most Linux distros directly via their package management (APT on Debian and its derivates, RPM for RedHat/Mandriva/SuSE etc). For more details, please also see my answer here.

I'm using Monitorix on multiple servers, and it saved my day more than once. The dev is quite busy implementing new features, and support is great also on its IRC channel in case you need help quickly.

Disclosure: I'm the maintainer for the Monitorix Debian/Ubuntu packages and the corresponding repository.

share|improve this answer

Are you looking at how Apache is performing using system resources, or how apache is performing serving web pages? I am unfamiliar with Apache, but if errors like connections exceeded are logged in the Apache logs, perhaps something like Logstash sending to an ElasticSearch db, then viewed with the Kibana front end?

I've used this for Windows IIS logs, and I could graph things like http response codes, response times, bytes sent/received etc, all over a customiseable time.

There is some overhead setting up the grok filter within the logstash agent, but after you get that done, it just kind of works.

edit adding links -

logstash - http://www.logstash.net elasticsearch and kibana - http://www.elasticsearch.org/overview/kibana/

share|improve this answer
    
please include link - otherwise user may or may not find the right thing if they have to search. –  Nick Wilde Aug 20 at 0:10

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.