Live Sever Stats Graphs via Web

After playing with collectd, rrdtool and collectd frontends I thought it would be cool to have a web interface to display rrd graphs using javascript. There are a lot of collectd front ends out there, but most of them display charts using rrdgraph.

Then I came across Highcharts. I saw their dynamic data chart demo and I knew this could be used to created live graphs based on rrd data.

So I spent a night hacking away and came up with a proof of concept:

The way it works is the chart requests the rrd from a web service. That web service has access to the rrd data, reads the lastest value and passes it to the javascript chart whenever it gets a request.

Tagged with: , , , ,
Posted in javascript, rails, rrd
2 comments on “Live Sever Stats Graphs via Web
  1. Sakthi says:

    Thanks for the update. this is what i was looking for.

  2. Mr. Ampro says:

    how to running step by step tutorial please

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: