Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a Munin setup that monitors some data from our database about the number of sales. My munin plugin extracts this data from the database with a query. I could run this query for any time in the past to see what the output would have been had I had the munin plugin then. Is there anyway to add in old data to the munin graph? Given a timestamp and some data for that timestamp, can I add it to the rrd file?

share|improve this question

2 Answers 2

up vote 5 down vote accepted

Export rrd to XML(use rrdtool dump), edit XML file. Then export XML to rdd(use rrdtool restore).

share|improve this answer
    
That's nice, I didn't knew about that one. Makes things a lot easier. –  Sven Feb 7 '11 at 12:51

Given a bit of scripting foo, this is doable. See http://ingvar.blog.linpro.no/2008/10/21/todays-munin-tip-spooling-a-year-of-backlog-to-munin/ , and add changes according to the comment about speed.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.