SOURCES: munin-plugins.patch - proper use of echo is a hard thing...
baggins
baggins at pld-linux.org
Mon Nov 13 17:38:00 CET 2006
Author: baggins Date: Mon Nov 13 16:38:00 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- proper use of echo is a hard thing...
---- Files affected:
SOURCES:
munin-plugins.patch (1.15 -> 1.16)
---- Diffs:
================================================================
Index: SOURCES/munin-plugins.patch
diff -u SOURCES/munin-plugins.patch:1.15 SOURCES/munin-plugins.patch:1.16
--- SOURCES/munin-plugins.patch:1.15 Mon Nov 13 17:14:56 2006
+++ SOURCES/munin-plugins.patch Mon Nov 13 17:37:55 2006
@@ -734,3 +734,46 @@
}
next unless grep { $_ } @fields;
+--- munin-1.3.3/node/node.d.linux/load.in~ 2006-11-10 13:39:13.000000000 +0100
++++ munin-1.3.3/node/node.d.linux/load.in 2006-11-13 17:37:17.000000000 +0100
+@@ -35,30 +35,30 @@
+ # one machine answer for several)
+
+ # The title of the graph
+- echo 'graph_title Load average'
++ echo "graph_title Load average"
+ # Arguments to "rrdtool graph". In this case, tell it that the
+ # lower limit of the graph is '0', and that 1k=1000 (not 1024)
+- echo 'graph_args --base 1000 -l 0'
++ echo "graph_args --base 1000 -l 0"
+ # The Y-axis label
+- echo 'graph_vlabel load'
++ echo "graph_vlabel load"
+ # We want Cur/Min/Avg/Max unscaled (i.e. 0.42 load instead of
+ # 420 milliload)
+- echo 'graph_scale no'
++ echo "graph_scale no"
+ # Graph category. Defaults to 'other'
+- echo 'graph_category system'
++ echo "graph_category system"
+ # The fields. "label" is used in the legend. "label" is the only
+ # required subfield.
+- echo 'load.label load'
++ echo "load.label load"
+ # These two are optional. They are only used if you have
+ # configured your munin to tell a Nagios-server about any
+ # problems
+- echo 'load.warning $LOAD_WARN'
+- echo 'load.critical $LOAD_CRIT'
++ echo "load.warning $LOAD_WARN"
++ echo "load.critical $LOAD_CRIT"
+ # This one is purely to add an explanation to the web page. The first
+ # one is for the graph itself, while the second one is for the field
+ # "load".
+- echo 'graph_info The load average of the machine describes how many processes are in the run-queue (scheduled to run "immediately").'
+- echo 'load.info Average load for the five minutes.'
++ echo "graph_info The load average of the machine describes how many processes are in the run-queue (scheduled to run \"immediately\")."
++ echo "load.info Average load for the five minutes."
+
+ # Last, if run with the "config"-parameter, quit here (don't
+ # display any data)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/munin-plugins.patch?r1=1.15&r2=1.16&f=u
More information about the pld-cvs-commit
mailing list