summaryrefslogtreecommitdiffstats
path: root/src/etc/inc/rrd.inc
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-12-11 13:56:24 -0200
committerRenato Botelho <renato@netgate.com>2015-12-11 13:56:24 -0200
commit2e74e7e9f10e7dac1bf1588be68cedff2ec31707 (patch)
tree3d34511005cac5ca0a7685b0bf873f5cb1ab7db5 /src/etc/inc/rrd.inc
parentebad20a9f82b644bae5fea1a7db67a2cc1fae6e8 (diff)
downloadpfsense-2e74e7e9f10e7dac1bf1588be68cedff2ec31707.zip
pfsense-2e74e7e9f10e7dac1bf1588be68cedff2ec31707.tar.gz
Add template to rrd update
Diffstat (limited to 'src/etc/inc/rrd.inc')
-rw-r--r--src/etc/inc/rrd.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/etc/inc/rrd.inc b/src/etc/inc/rrd.inc
index 3904d86..494546d 100644
--- a/src/etc/inc/rrd.inc
+++ b/src/etc/inc/rrd.inc
@@ -987,10 +987,10 @@ for sock in {$g['varrun_path']}/dpinger_*.sock; do
RRA:AVERAGE:0.5:60:1860 \\
RRA:AVERAGE:0.5:1440:2284
- {$rrdtool} update {$rrddbpath}\$gw-quality.rrd N:U:U
+ {$rrdtool} update -t loss:delay {$rrddbpath}\$gw-quality.rrd N:U:U
fi
- {$rrdtool} update {$rrddbpath}\$gw-quality.rrd N:\$loss:\$delay
+ {$rrdtool} update -t loss:delay {$rrddbpath}\$gw-quality.rrd N:\$loss:\$delay
done
EOD;
OpenPOWER on IntegriCloud