diff --git a/munin/webalizer_ b/munin/webalizer_ index 950e51e8..a2dca052 100755 --- a/munin/webalizer_ +++ b/munin/webalizer_ @@ -53,9 +53,9 @@ if arg == "config" : print 'graph_vlabel % des visites' for key in usage.keys() : nom = key - for char in [' ','_','-','/','\\',':',';','.'] : + for char in [' ','_','-','/','\\',':',';','.','+','(',')','!'] : nom = nom.replace(char, '') - print '%s.label %s' % (nom, key) + print '%s.label %s' % (nom, key[:20]) if usage.keys().index(key) == 0 : print '%s.draw AREA' % nom else : @@ -66,7 +66,7 @@ if arg == "config" : else : for key in usage.keys() : nom = key - for char in [' ','_','-','/','\\',':',';','.'] : + for char in [' ','_','-','/','\\',':',';','.','+','(',')','!'] : nom = nom.replace(char, '') print '%s.value %.2f' % (nom, usage[key]) print 'reste.value %.2f' % reste