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 pretty basic munin configuration, with a host in my munin.conf like this

[old;name]

and a Plugin, that gives host_name: name

I changed the munin.conf to

  [new;name]

the host_name in the Plugin remained the same.

Now the Plugin shows, but there's no history (no surprise). I need to migrate the graph's history. Is there a way?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Locate the files in /var/lib/munin. Directory strutcure will be old/name*. Move the files to new/name*. You will loose the history between when you made the change and now.

If you plan such moves in the future, create hard links in the new destination before the change. Then remove the old files after the change.

share|improve this answer
    
than for the tip for future migrations. Is there a chance of merging the data? –  keppla Mar 28 '11 at 7:12
1  
It should be possible to export the data from one RRD file and import them into the other with rrddump and rrdrestore from the RRDtools (mrtg.org/rrdtool), which is what munin uses to create the graphs. –  Sven Mar 28 '11 at 7:43
    
thank you for the help –  keppla Mar 28 '11 at 8:26

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.