Helmut Grohne <hel...@subdivi.de> writes:

> The df and df_inode plugins lost all history about filesystems on lvm
> since upgrading to 1.4.0-1. The source of this problem is a change in
> the naming of rrd files. Previously they would be called
> localhost.localdomain-df-_mapper_volumegroup_logicalvolume-g.rrd and
> now contain an additional _dev in front of _mapper.
>
> It would be nice if you could also provide a tool to merge the stats
> that are now scattered to two files.

To move (and lose the overlapping data, you'll get a gap in your graphs):

for file in $(find /var/lib/munin -type f -name '*-df-_mapper*.rrd')
do
   mv $file ${file/-df-_/-df-_dev_}
done

To merge, the tools you are looking for is rrdtool dump and rrdtool
restore, with some non-trivial XML magic in the middle.

http://www.pintori.it/rrd-merger/ may help you, from its descripton, but
I haven't tried it.

-- 
Stig Sandbeck Mathisen



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to