Install Stats.d / Graphite on a debian server in order to monitor a Symfony2 application (1/2)


During this tutorial, we will install Stats.d and Graphite on the same server our application is running on. Don’t forget that it’s best if you monitor your application with graphite & stats.d using another server because that will not be the case in this tutorial.

Requirements :

  • A Linux based server (this tutorial will explain the steps for Debian)
  • A running Symfony2 application
  • StatsDClientBundle
Here’s the result we’ll have at the end (screenshot from a personal web application) :

Install Graphite

If you want the full detail on the graphite, take a look at the source I used for the installations steps.

Install Stat.d

If you want the full detail, check out the source.

From now on, we have a running copy of both Graphite and Stat.d client.

You can access it with the URL you provided in your vhost

Now, let’s install the StatsDClientBundle in order to monitor our Symfony2 application

Note that we added the full configuration for the bundle which allow us to collect these usefull information such as logged users vs anonymous, memory usage.

In the 2nd part, we’ll see how to monitor custom events in your Symfony2 app.

Related posts:

2 thoughts on “Install Stats.d / Graphite on a debian server in order to monitor a Symfony2 application (1/2)

  1. Pingback: Install Graphite in a virtualenv (python2.7) with apache and StatsD (Debian Squeeze) | Mapado Blog

  2. Generally I do not learn article on blogs, but I wish to say that this write-up very compelled me to take a look at and do it! Your writing taste has been surprised me. Thanks, quite nice article.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>