Package: munin-node
Version: 1.2.5-2
Severity: normal
Tags: patch
Hi,
nagios does not understand munin if the graph title contains special
chars as e.g. '%'. Therefore I'd suggest rephrasing the titles so they
become compatible.
I attach a patch that does this for the df and df_inode plugins (these
are needed in my case).
Andreas
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable'), (300, 'unstable'), (130,
'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Index: munin-1.2.5/node/node.d.linux/df.in
===================================================================
--- munin-1.2.5.orig/node/node.d.linux/df.in 2008-03-05 01:20:20.000000000
+0100
+++ munin-1.2.5/node/node.d.linux/df.in 2008-03-05 01:27:11.000000000 +0100
@@ -69,7 +69,7 @@
if [ "$1" = "config" ]; then
- echo 'graph_title Filesystem usage (in %)'
+ echo 'graph_title Filesystem usage in percent'
echo 'graph_args --upper-limit 100 -l 0'
echo 'graph_vlabel %'
echo 'graph_category disk'
Index: munin-1.2.5/node/node.d.linux/df_inode.in
===================================================================
--- munin-1.2.5.orig/node/node.d.linux/df_inode.in 2008-03-05
01:27:17.000000000 +0100
+++ munin-1.2.5/node/node.d.linux/df_inode.in 2008-03-05 01:27:31.000000000
+0100
@@ -73,7 +73,7 @@
if [ "$1" = "config" ]; then
- echo 'graph_title Inode usage (in %)'
+ echo 'graph_title Inode usage in percent'
echo 'graph_args --upper-limit 100 -l 0'
echo 'graph_vlabel %'
echo 'graph_category disk'