Converting RRD to CSV

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Iantidon
Posts: 7
Joined: Mon Oct 13, 2014 7:20 am

Converting RRD to CSV

Post 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
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Converting RRD to CSV

Post 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 
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked