SOURCES: munin-plugins.patch - fix special case for iostat

baggins baggins at pld-linux.org
Mon Nov 13 15:58:00 CET 2006


Author: baggins                      Date: Mon Nov 13 14:58:00 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix special case for iostat

---- Files affected:
SOURCES:
   munin-plugins.patch (1.13 -> 1.14) 

---- Diffs:

================================================================
Index: SOURCES/munin-plugins.patch
diff -u SOURCES/munin-plugins.patch:1.13 SOURCES/munin-plugins.patch:1.14
--- SOURCES/munin-plugins.patch:1.13	Mon Nov 13 15:07:51 2006
+++ SOURCES/munin-plugins.patch	Mon Nov 13 15:57:54 2006
@@ -717,3 +717,14 @@
  	next unless /^(.)(\d+\.\d+\.\d+\.\d+)/;
  	next if /^.224\.0\.1\.1/;
  	my $state = $1;
+--- munin-1.3.3/node/node.d.linux/iostat.in~	2006-11-10 13:39:13.000000000 +0100
++++ munin-1.3.3/node/node.d.linux/iostat.in	2006-11-13 15:57:04.000000000 +0100
+@@ -145,7 +145,7 @@
+ 				if ($tmpnam =~ /\d+$/ ) {
+ 					# Special case for devices like cXdXpX,
+ 					# like the cciss driver
+-					next unless $tmpnam =~ /\/c\d+d\d+$/
++					next unless $tmpnam =~ /\/.*d\d+$/
+ 				}
+ 				next unless grep { $_ } @fields;
+ 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/munin-plugins.patch?r1=1.13&r2=1.14&f=u



More information about the pld-cvs-commit mailing list