diff options
author | Marcel Haerry <haerry@puzzle.ch> | 2008-07-16 16:41:05 +0200 |
---|---|---|
committer | Marcel Haerry <haerry@puzzle.ch> | 2008-07-16 16:41:05 +0200 |
commit | aa90466bb4a4c0404321531f40311d5c0726684f (patch) | |
tree | 19106e41c6a945ac11658f35669d94e6f02bbeb3 /files | |
parent | a73d92553609a8195beaf6d531d5c0c20e9b5f07 (diff) |
for munin a . is a delimeter, so replacing . with _
Diffstat (limited to 'files')
-rw-r--r-- | files/plugins/xen_traffic_all | 2 |
1 files changed, 1 insertions, 1 deletions
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) } \ |