From fcdf94565f9b3a55d1833548a2c238bc76dbfa79 Mon Sep 17 00:00:00 2001 From: Antoine Durand-Gasselin Date: Thu, 11 Feb 2010 13:36:56 +0100 Subject: [PATCH] =?UTF-8?q?[wifi/bornes.py]=20cosm=C3=A9tique=20pour=20mun?= =?UTF-8?q?in?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit darcs-hash:20100211123656-bd074-4520fb1b9ff2c436770bf1da9b9a4b54cfd6729d.gz --- wifi/bornes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wifi/bornes.py b/wifi/bornes.py index 00807a4e..a94536d6 100755 --- a/wifi/bornes.py +++ b/wifi/bornes.py @@ -220,7 +220,7 @@ toutes les bornes""" plugin = prog.split('_', 1)[0] if plugin == 'uptime': config = """graph_title Uptime Bornes -graph_args --base 1000 -l 0 +graph_args --base 1000 --logarithmic graph_vlabel uptime in days""" def process(uptime): if uptime: return str(float (uptime.split()[1]) / (24 * 3600)) @@ -238,7 +238,7 @@ graph_args --base 1000 -l 0""" '5': 'cinq', '6': 'six', '7': 'sept', '8': 'huit', '9': 'neuf', '10': 'dix', '11': 'onze', '12': 'douze', '13': 'treize', '14': 'quatorze', '0': 'echec' } - munin(config, results=bornes_canal(), buckets= buckets) + munin(config, results=bornes_canal(), buckets= buckets, stack="AREA") else: raise NotImplementedError else: