packages: munin/munin-plugins.patch - even munin_update can be buged

baggins baggins at pld-linux.org
Tue Dec 1 14:47:45 CET 2009


Author: baggins                      Date: Tue Dec  1 13:47:45 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- even munin_update can be buged

---- Files affected:
packages/munin:
   munin-plugins.patch (1.29 -> 1.30) 

---- Diffs:

================================================================
Index: packages/munin/munin-plugins.patch
diff -u packages/munin/munin-plugins.patch:1.29 packages/munin/munin-plugins.patch:1.30
--- packages/munin/munin-plugins.patch:1.29	Tue Dec  1 02:10:16 2009
+++ packages/munin/munin-plugins.patch	Tue Dec  1 14:47:39 2009
@@ -971,3 +971,23 @@
  
  if [ "$1" = "autoconf" ]; then
  	if [ -x /usr/sbin/lsof ]; then
+--- munin-1.4.0/plugins/node.d/munin_update.in~	2009-11-27 12:17:11.000000000 +0100
++++ munin-1.4.0/plugins/node.d/munin_update.in	2009-12-01 14:46:33.749288924 +0100
+@@ -35,7 +35,7 @@
+ 	echo 'graph_category munin'
+ 	[ -f $UPDATE_STATSFILE ] || exit 0
+ 	cat $UPDATE_STATSFILE | grep "UD" | while read i; do
+-		name=`echo $i | cut -d"|" -f2 |tr  '.-' '__'`
++		name=`echo $i | cut -d"|" -f2 |tr  ';.-' '___'`
+ 		printf "$name.label "
+ 		echo $i | cut -d"|" -f2
+ 		echo "$name.warning 100"
+@@ -47,7 +47,7 @@
+ [ -f $UPDATE_STATSFILE ] || exit 0
+ 
+ cat $UPDATE_STATSFILE | grep "UD" | while read i; do
+-        name=`echo $i | cut -d"|" -f2 | tr  '.-' '__'`
++        name=`echo $i | cut -d"|" -f2 | tr  ';.-' '___'`
+ 	printf "$name.value "
+ 	echo $i | cut -d"|" -f3
+ done
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/munin/munin-plugins.patch?r1=1.29&r2=1.30&f=u



More information about the pld-cvs-commit mailing list