r471 - trunk/sources/munin/plugins
roh at daksha.openmoko.org
roh at daksha.openmoko.org
Sun Jun 7 08:42:54 CEST 2009
Author: roh
Date: 2009-06-07 06:42:54 +0000 (Sun, 07 Jun 2009)
New Revision: 471
Modified:
trunk/sources/munin/plugins/mailman_detail
Log:
tr - _ to make munin happier
Modified: trunk/sources/munin/plugins/mailman_detail
===================================================================
--- trunk/sources/munin/plugins/mailman_detail 2009-06-06 09:33:14 UTC (rev 470)
+++ trunk/sources/munin/plugins/mailman_detail 2009-06-07 06:42:54 UTC (rev 471)
@@ -38,8 +38,8 @@
echo 'graph_info This graph shows the absolute number of members for each list.'
echo 'graph_category other'
# echo 'graph_period second'
- /usr/sbin/list_lists -a -b|awk '{print $1".label "$1"\n"$1".type GAUGE\n"$1".min 0"}'
+ /usr/sbin/list_lists -a -b | tr - _ | awk '{print $1".label "$1"\n"$1".type GAUGE\n"$1".min 0"}'
exit 0
fi
-/usr/sbin/list_lists -a -b|xargs -n 1 sh -c 'echo -n $0".value " && /usr/sbin/list_members $0 |wc -l'
+/usr/sbin/list_lists -a -b|xargs -n 1 sh -c 'echo -n $0".value "|tr - _ && /usr/sbin/list_members $0 |wc -l'
More information about the webdesign-commitlog
mailing list