X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=contrib%2Fmigrate-4-5.px;h=d3ff796d3ed7d1139edacfebd638746bb8062c5d;hb=d0bb20feb1c5915e8b8af24cc2d46c4ac82d6704;hp=0e6f7b2f42256c9279edc41c24bca638f636bd8c;hpb=57b6a7ec7693cf8f111d9d4ab486eb5509c99836;p=collectd.git diff --git a/contrib/migrate-4-5.px b/contrib/migrate-4-5.px index 0e6f7b2f..d3ff796d 100755 --- a/contrib/migrate-4-5.px +++ b/contrib/migrate-4-5.px @@ -45,7 +45,6 @@ our %TypesCounterToDerive = # {{{ connections => ["value"], cpu => ["value"], current => ["value"], - df => ["used", "free"], disk_merged => ["read", "write"], disk_octets => ["read", "write"], disk_ops => ["read", "write"], @@ -184,6 +183,7 @@ sub handle_file # {{{ && (!$plugin_inst) && ($type_inst)) { my $dir = join ('/', @path); + print "mkdir -p \"$dir/$plugin-$type_inst\"\n"; print "mv \"$path\" \"$dir/$plugin-$type_inst/$type.rrd\"\n"; } } # }}} sub handle_file