[munin/{stats-batiments_,batiments}] corrections
darcs-hash:20100211145609-bd074-6930a2beb0ca02dfff92645e19e1b23377c4875c.gz
This commit is contained in:
parent
fce734a464
commit
6cb20cc1ba
2 changed files with 7 additions and 5 deletions
|
@ -31,6 +31,8 @@ if arg == "config" :
|
|||
print 'batj.draw STACK'
|
||||
print 'batm.label Bâtiment M'
|
||||
print 'batm.draw STACK'
|
||||
print 'bato.label Bâtiment O'
|
||||
print 'batm.draw STACK'
|
||||
print 'batp.label PdJ'
|
||||
print 'batp.draw STACK'
|
||||
print 'wifi.label Wifi'
|
||||
|
@ -48,7 +50,7 @@ elif arg == "fichier" :
|
|||
return len(data['adherent']) + len(data['club'])
|
||||
|
||||
total = 0
|
||||
for bat in 'abcghijmp' :
|
||||
for bat in 'abcghijmpo' :
|
||||
nb = count('paiement=ok&chbre=%s*' % bat)
|
||||
total += nb
|
||||
file.write("bat%s.value %d\n" % (bat, nb))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue