diff --git a/lib/Rrd/Temperature.php b/lib/Rrd/Temperature.php index 7fcb470..290c659 100644 --- a/lib/Rrd/Temperature.php +++ b/lib/Rrd/Temperature.php @@ -112,8 +112,8 @@ class Temperature $options = [ '--step', '60', // 1min step sprintf('DS:%s:GAUGE:600:0:100', $id), // 10min hartbeat - 'RRA:LAST:0.5:1:1440', // last/m - 1day(1440min) - 'RRA:LAST:0.5:30:52560', // last/30m - 3years(365day=30min*17520)*3 + 'RRA:LAST:0.5:1:10080', // last/m - 7day(10080min) + 'RRA:LAST:0.5:30:175200', // last/30m - 10years(365day=30min*17520)*10 ]; return rrd_create($fpath, $options);