From aa90466bb4a4c0404321531f40311d5c0726684f Mon Sep 17 00:00:00 2001 From: Marcel Haerry Date: Wed, 16 Jul 2008 16:41:05 +0200 Subject: for munin a . is a delimeter, so replacing . with _ --- files/plugins/xen_traffic_all | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/plugins/xen_traffic_all b/files/plugins/xen_traffic_all index 73eb504..55740f0 100644 --- a/files/plugins/xen_traffic_all +++ b/files/plugins/xen_traffic_all @@ -58,7 +58,7 @@ for dom in $DOMAINS; do name=$real_name for dev in $devs; do if [ ${#devs} -gt 1 ]; then - name=$real_name"_"$dev + name=$real_name"_"`echo $dev | sed 's/\./\_/'` fi awk -v name="$name" -v interface="$dev" \ 'BEGIN { gsub(/\./, "\\.", interface) } \ -- cgit v1.2.3