[wifi/bornes.py] on affine la représentation logarithmique de l'uptime
darcs-hash:20100402132904-bd074-13496f864caa99a863398d53f2ac4e8fc59d3cfd.gz
This commit is contained in:
parent
03995c1cd5
commit
af2c827f24
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ toutes les bornes"""
|
|||
plugin = prog.split('_', 1)[0]
|
||||
if plugin == 'uptime':
|
||||
config = """graph_title Uptime Bornes
|
||||
graph_args --base 1000 --logarithmic
|
||||
graph_args --base 1000 --logarithmic -l 0.5 -u 500 -r
|
||||
graph_vlabel uptime in days"""
|
||||
def process(uptime):
|
||||
if uptime: return str(float (uptime.split()[1]) / (24 * 3600))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue