Using Grafana to display graph

Big thanks to the team for creating an awesome product!  Here is a tip on how to use Grafana/Graphite to create nice graphs based on stor2rrd rrd files. 

From ;
"Graphite can also read directly from collectd‘s RRD files. RRD files can simply be added to STORAGE_DIR/rrd (as long as directory names and files do not contain any . characters). For example, collectd’s can be symlinked to rrd/collectd/host_name/load/load.rrd to graph collectd.host_name.load.load.{short,mid,long}term."

So, what you need is to install grafana and graphite first, then link /var/lib/graphite/rrd to /home/stor2rrd/stor2rrd/data and voila, you will be able to show your stor2rrd data on screen with nice grafana graphs :) 

I am running Grafana/Graphite on a separate server from stor2rrd, so I use sshfs to link like this on the grafana server: 
sshfs -o allow_other user@stor2rrd.server:/home/stor2rrd/stor2rrd/data /var/lib/graphite/rrd

Performance graphs with data from stor2rrd: 

Screen with Grafana playlist playing through selected dashboards :)   Powered by rasberry pi! 


  • Hello,

    I tried to do the same with lpar2rrd (i know it's a stor2rrd post)  but it is not working.

    i installed these (on a CentOS) :



    I changed in /etc/graphite-web/ the path to RRD Files (RRD_DIR = '/var/lib/graphite/rrd'
    ) and  use sshfs as you said.

    Someone has any clue ?

  • Hello,
    LPAR2RRD uses file extensions other than *.RRD (*.mmm, *.rrm, *.rsm, ...)
    so Graphite does not find them
    as an option, you can create individual links for each RRD-file (which you need) with the correct extension
    for example
    But can someone found an easier way?

  • I guess there is a problem if lpar2rrd/stor2rrd and Graphite/Grafana are running on different OS/Architectures ?

    RRD files created in Linux cannot be read with AIX and vice versa.

    Doesn't Graphite/Grafana have the same issue if its running on different architecture than where the RRD files were created ?

    Does anybody have experience with this ?

    I have lpar2rrd and stor2rrd on AIX and try to find a way to use these RRD files in Grafana.

  • can someone give me a step by step doc how to implement Graphana for Linux.  

  • Hello Guys,
    I'm searching implementation grafana for stor2rrd. Do any has step by step implemented this tool and has instruction?

  • Hi,

    it is not officially provided or supported by us.
  • Hi,
    Sure, but i hope Mr/Ms Veguardian have some instruction :)

  • edited February 2019
    Hello Veguardian,
    Thank's for this topic, i did well all setps, graphite & grafana can see all rrd directories from stor2rrd, so didn't have any charts. 

    Could you help ? 

    Best Regards.
  • Hi all,
    similar issue here. Instead of sshfs I did a mount of an nfs share to the stor2rrd server data path, containing the rrd files.
    Graphite browser show the metrics folder with the mount, but no data.
    Any ideas?
    kind regards,
Sign In or Register to comment.