Les navigateurs ont des caractres la con et sont de plus super long
TODO: centraliser les commandes des scripts pour avoir des fonctions de rcriture pour les plugins munin modifiables un seul endroit darcs-hash:20060513141132-72cb0-2aebae9eab3f85dff2c9580d8875561205496df9.gz
This commit is contained in:
parent
39d3963c85
commit
917f61dd85
1 changed files with 3 additions and 3 deletions
|
@ -53,9 +53,9 @@ if arg == "config" :
|
||||||
print 'graph_vlabel % des visites'
|
print 'graph_vlabel % des visites'
|
||||||
for key in usage.keys() :
|
for key in usage.keys() :
|
||||||
nom = key
|
nom = key
|
||||||
for char in [' ','_','-','/','\\',':',';','.'] :
|
for char in [' ','_','-','/','\\',':',';','.','+','(',')','!'] :
|
||||||
nom = nom.replace(char, '')
|
nom = nom.replace(char, '')
|
||||||
print '%s.label %s' % (nom, key)
|
print '%s.label %s' % (nom, key[:20])
|
||||||
if usage.keys().index(key) == 0 :
|
if usage.keys().index(key) == 0 :
|
||||||
print '%s.draw AREA' % nom
|
print '%s.draw AREA' % nom
|
||||||
else :
|
else :
|
||||||
|
@ -66,7 +66,7 @@ if arg == "config" :
|
||||||
else :
|
else :
|
||||||
for key in usage.keys() :
|
for key in usage.keys() :
|
||||||
nom = key
|
nom = key
|
||||||
for char in [' ','_','-','/','\\',':',';','.'] :
|
for char in [' ','_','-','/','\\',':',';','.','+','(',')','!'] :
|
||||||
nom = nom.replace(char, '')
|
nom = nom.replace(char, '')
|
||||||
print '%s.value %.2f' % (nom, usage[key])
|
print '%s.value %.2f' % (nom, usage[key])
|
||||||
print 'reste.value %.2f' % reste
|
print 'reste.value %.2f' % reste
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue