Page 1 of 1

Import Perfomance Data

Posted: Tue Mar 13, 2012 1:33 pm
by mjsmith4
I have a CSV file that has some historical performance data that I would like to import into NagiosXI so I can have it all in the same place. Has Anyone done this? If so any hints or tips.

Re: Import Perfomance Data

Posted: Tue Mar 13, 2012 1:52 pm
by scottwilkerson
Boy, it might be out there but I am not aware of a ready made CSV to RRD importer.

The performance data is stored in RRD riles, you could look into trying to convert your data to RRD and then at you'll find a python2 script merge-rrd
http://people.ee.ethz.ch/~oetiker/webto ... b/contrib/ you'll find a python2 script merge-rrd

Re: Import Perfomance Data

Posted: Tue Mar 13, 2012 1:56 pm
by mjsmith4
Yea, I was just checking to see if I could save a little time. . Was thinking about writing a perl script to parse the csv and put it in rrd xml format and doing a restore that way. But was being lazy.

Re: Import Perfomance Data

Posted: Tue Mar 13, 2012 2:52 pm
by scottwilkerson
If you do find an easier solution to this please do share.