From 95e874b47d160016cc39825b5baeb4083d38a389 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Sun, 20 May 2007 02:45:14 +0200 Subject: [PATCH] Updated extractDS_path.dpatch to current version for migrate-3-4.px. --- debian/patches/extractDS_path.dpatch | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/debian/patches/extractDS_path.dpatch b/debian/patches/extractDS_path.dpatch index e8395c5..5c95cf1 100755 --- a/debian/patches/extractDS_path.dpatch +++ b/debian/patches/extractDS_path.dpatch @@ -8,7 +8,7 @@ diff a/contrib/migrate-3-4.px b/contrib/migrate-3-4.px --- a/contrib/migrate-3-4.px +++ b/contrib/migrate-3-4.px -@@ -166,7 +166,7 @@ for (@Files) +@@ -165,7 +165,7 @@ for (@Files) my $src_ds = $src_dses->[$i]; $dest->{'type_instance'} = $type_instances->[$i]; $dest_filename = get_filename ($dest); @@ -17,3 +17,25 @@ diff a/contrib/migrate-3-4.px b/contrib/migrate-3-4.px } } elsif (exists ($TypeRename{$orig->{'type'}})) +@@ -360,17 +360,17 @@ sub special_disk + $OutDirs{$dest_directory} = 1; + } + +- print "./extractDS.px -i '$InDir/$orig_filename' -s 'rmerged' -s 'wmerged' -o '$OutDir/$dest_filename' -d 'read' -d 'write'\n"; ++ print "/usr/lib/collectd/utils/extractDS.px -i '$InDir/$orig_filename' -s 'rmerged' -s 'wmerged' -o '$OutDir/$dest_filename' -d 'read' -d 'write'\n"; + + $dest->{'type'} = 'disk_octets'; + $dest_filename = get_filename ($dest); +- print "./extractDS.px -i '$InDir/$orig_filename' -s 'rbytes' -s 'wbytes' -o '$OutDir/$dest_filename' -d 'read' -d 'write'\n"; ++ print "/usr/lib/collectd/utils/extractDS.px -i '$InDir/$orig_filename' -s 'rbytes' -s 'wbytes' -o '$OutDir/$dest_filename' -d 'read' -d 'write'\n"; + + $dest->{'type'} = 'disk_ops'; + $dest_filename = get_filename ($dest); +- print "./extractDS.px -i '$InDir/$orig_filename' -s 'rcount' -s 'wcount' -o '$OutDir/$dest_filename' -d 'read' -d 'write'\n"; ++ print "/usr/lib/collectd/utils/extractDS.px -i '$InDir/$orig_filename' -s 'rcount' -s 'wcount' -o '$OutDir/$dest_filename' -d 'read' -d 'write'\n"; + + $dest->{'type'} = 'disk_time'; + $dest_filename = get_filename ($dest); +- print "./extractDS.px -i '$InDir/$orig_filename' -s 'rtime' -s 'wtime' -o '$OutDir/$dest_filename' -d 'read' -d 'write'\n"; ++ print "/usr/lib/collectd/utils/extractDS.px -i '$InDir/$orig_filename' -s 'rtime' -s 'wtime' -o '$OutDir/$dest_filename' -d 'read' -d 'write'\n"; + } -- 2.30.2