Page 1 of 1

Converting RRD to CSV

Posted: Fri Feb 20, 2015 12:57 am
by Iantidon
Hi,

I would like to know if there is a way to convert RRD files to CSV? I need this to create a graph from MS Excel.

Thanks,
Ian

Re: Converting RRD to CSV

Posted: Fri Feb 20, 2015 1:16 pm
by abrist
Well, you can download a perl script to do just this:
https://code.google.com/p/rrd2csv/
Or, as rrds are dumped by rrdtool in xml, you could just import the xml directly into excel:

Code: Select all

rrdtool dump /usr/local/nagios/share/perfdata/<host>/<service description>.rrd > /path/to/output/xml