Installing Graphite and Grafana on RHEL 6, 7, or Ubuntu in under 30 minutes

The open source metrics software Graphite is brilliant.  To get it up and running however is not so.  

The ‘official’ documentation is quite generic, and the packaged versions (on EPEL and via PIP) have their own issues on some Linux flavors.  So I usually end up searching Google to hopefully find a working recipe for the Linux flavor of the day on someone’s blog.  And when I’ve done that invariably it still doesn’t work.  A bit more googling and hacking and some minutes or hours later depending on my luck then ta-da, SUCCESS!

Could I do it again with the minimum steps possible?  Not a chance.  Then ask me to do it without internet access (so passing install files via a jumphost) and it turns into a multi-hour or multi-day adventure.

Faced with this problem, and a desire to get Graphite and Grafana up and running quickly, I wrote an installation document for the following common scenarios:

  • Red Hat Enterprise Linux (RHEL) 6.6 (internet connected or via jumphost)
  • Red Hat Enterprise Linux (RHEL) 7.1  (internet connected or via jumphost)
  • Ubuntu 14.04 (internet connected)

So you can pick a totally free option (Ubuntu), or go with an enterprise option that will hopefully fit your corporate standards (RHEL).  And if you have no internet access (often the case from a management network) we also have steps for an offline install on RHEL.

With these steps you can be up and running in under 30 min with minimal linux skills!

Once you’re up, if you’re a NetApp shop you can configure metrics from the OnCommand Performance Manager (OPM) external data provider feature, or the NetApp Harvest collector found on the NetApp ToolChest.

Or if you’re not a NetApp shop, be happy that you have your metrics platform up and running and can start monitoring with something like collectd.

The instructions are downloadable here, no login required:

Comments are always welcome!

Share Comments
comments powered by Disqus