diff options
author | David Wood <david@wood2.org.uk> | 2016-02-06 03:15:32 +0000 |
---|---|---|
committer | David Wood <david@wood2.org.uk> | 2016-02-06 03:15:32 +0000 |
commit | da8b271a85f3ac4d0cbd69d00c9d287b60b4bdac (patch) | |
tree | 0ae15d9c10e1db2824fa9744d64b0fe705bc2dcb /src | |
parent | ce31310ea4d3cd7110d98e9d3f18b5903d3e2ccb (diff) | |
download | pfsense-da8b271a85f3ac4d0cbd69d00c9d287b60b4bdac.zip pfsense-da8b271a85f3ac4d0cbd69d00c9d287b60b4bdac.tar.gz |
Tell rrd that ntpd offset can be negative as well as positive
Diffstat (limited to 'src')
-rw-r--r-- | src/etc/inc/rrd.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/inc/rrd.inc b/src/etc/inc/rrd.inc index 7019a28..11a626e 100644 --- a/src/etc/inc/rrd.inc +++ b/src/etc/inc/rrd.inc @@ -891,7 +891,7 @@ function enable_rrd_graphing() { /* set up the ntpd rrd file */ if (!file_exists("$rrddbpath$ntpd")) { $rrdcreate = "$rrdtool create $rrddbpath$ntpd --step $rrdntpdinterval "; - $rrdcreate .= "DS:offset:GAUGE:$ntpdvalid:0:1000 "; + $rrdcreate .= "DS:offset:GAUGE:$ntpdvalid:-1000:1000 "; $rrdcreate .= "DS:sjit:GAUGE:$ntpdvalid:0:1000 "; $rrdcreate .= "DS:cjit:GAUGE:$ntpdvalid:0:1000 "; $rrdcreate .= "DS:wander:GAUGE:$ntpdvalid:0:1000 "; |