comparison web/log.py @ 88:6f4497a448e8

increase temperature logging range
author Matt Johnston <matt@ucc.asn.au>
date Thu, 12 Jul 2012 23:47:29 +0800
parents c7b6da1adb47
children 229b740a607f
comparison
equal deleted inserted replaced
87:81b8c84344c4 88:6f4497a448e8
35 'DS:temp:GAUGE:7200:1:10', 35 'DS:temp:GAUGE:7200:1:10',
36 'RRA:AVERAGE:0.5:1:87600'] 36 'RRA:AVERAGE:0.5:1:87600']
37 else: 37 else:
38 args = [ 38 args = [
39 '--step', '300', 39 '--step', '300',
40 'DS:temp:GAUGE:600:-10:100', 40 'DS:temp:GAUGE:600:-100:500',
41 'RRA:AVERAGE:0.5:1:1051200'] 41 'RRA:AVERAGE:0.5:1:1051200']
42 42
43 rrdtool.create(sensor_rrd_path(sensor_id), 43 rrdtool.create(sensor_rrd_path(sensor_id),
44 '--start', 'now-60d', 44 '--start', 'now-60d',
45 *args) 45 *args)