rrd: saner RRAs
This commit is contained in:
parent
8c0e367f3d
commit
35f42dbcf1
14
rrd.py
14
rrd.py
|
@ -79,10 +79,16 @@ class rrd:
|
||||||
,'--start',str(round(self.currentTimeInt - 60))
|
,'--start',str(round(self.currentTimeInt - 60))
|
||||||
,'--step' , '60'
|
,'--step' , '60'
|
||||||
,'DS:upstate:GAUGE:120:0:1'
|
,'DS:upstate:GAUGE:120:0:1'
|
||||||
,'RRA:LAST:0:1:44640'
|
,'RRA:AVERAGE:0.5:1:120'
|
||||||
# Number of client available
|
,'RRA:AVERAGE:0.5:5:1440'
|
||||||
,'DS:clients:GAUGE:120:0:U'
|
,'RRA:AVERAGE:0.5:60:720'
|
||||||
,'RRA:LAST:0:1:44640'
|
,'RRA:AVERAGE:0.5:720:730'
|
||||||
|
# Number of connected clients
|
||||||
|
,'DS:clients:GAUGE:120:0:200'
|
||||||
|
,'RRA:AVERAGE:0.5:1:120'
|
||||||
|
,'RRA:AVERAGE:0.5:5:1440'
|
||||||
|
,'RRA:AVERAGE:0.5:60:720'
|
||||||
|
,'RRA:AVERAGE:0.5:720:730'
|
||||||
]
|
]
|
||||||
subprocess.check_output(args)
|
subprocess.check_output(args)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue