TurnKey Linux Virtual Appliance Library

Monitoring solution

scott_4's picture

I need to monitor the memory & CPU usage on a LAMP turnkey server.  Any recommendations on a good solution to monitor these resources (and maybe more)?



Jeremiah's picture

I highly recommend using collectl

I highly recommend using collectl.  I've spent a pretty good amount of time in the past looking for what I think is a good solution for this type of thing and collectl continues to come to the top of my list.  What I like the most is that you can capture a lot of different statistics and view it all in one tool at command line.  This is far better than using multiple tools and trying to correlate the information from each tool.  It can also produce output that is ready to be used as gnuplot input so you can generate graphs.  It has great granularity for troubleshooting performance related issues.

If you just want simple graphs of a small number of servers you can install munin.  munin master collects data from munin nodes.  A munin node must also be installed on the server running munin master if you want to collect stats for that server.  So if want graphed stats for a single server then install both using the following command.

apt-get install munin munin-node

Then just configure both munin master and node for your purposes.

If you want to do more advanced statistic capture and graphing I definitely recommend cacti.

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)